g++ linking probs

Andrew Markebo andrew.markebo@telia.com
Thu Feb 20 09:59:00 GMT 2003


/ Manu Anand <ManuA@mascotsystems.com> wrote:
| Guys
| I am linking a simple C++ program with an external library using
| g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
| -lcppunit prog.cxx

Try throwing -lcppunit _after_ prog.cxx

    /Andy

-- 
 The eye of the beholder rests on the beauty!


--
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