This is the mail archive of the cygwin 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: Trying to build crm114 (20050721) under CygWin 1.5.18-1


Brian Dessent wrote:

Now you've got the order wrong.  The objects must be specified in
dependent order, which generally means libraries after objects.

I.e.: gcc -o crm114 *.o -L/usr/local/lib -ltre -lintl -liconv

-lcygwin (== -lm) is automatically added at the end when linking.


Gerrit -- =^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]