g77 + gcc + flex + bison woes

Andrey Romanenko andrew@eq.uc.pt
Mon Apr 14 17:14:00 GMT 2003


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/



More information about the Cygwin mailing list