This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g77 + gcc + flex + bison woes


Igor,

> Did you try putting the library after your main module, like this:
>
>    gcc yourmain.o -fl -o myprog
>
> ?  This way, the main() from your code should have been pulled in first.
> The order of gcc arguments does matter, and there is usually no need to
> pull a module from the library...

Yes, I have -lfl at the very end of the lile. I am aware of the issue.
In that case this looks like a bug. Or, a feature of the rather
complicated salad that I have (g77+gcc+bison+flex).

Andrey



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]