Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 14 Apr 2003 15:56:41 +0100 (WEST) From: Andrey Romanenko To: cygwin AT cygwin DOT com Subject: Re: g77 + gcc + flex + bison woes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/