This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: g++ linking probs
> / Manu Anand <ManuA at mascotsystems dot 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
I can't believe I didn't see that! :-( I've been working way tooooo long.
Regards,
Elfyn McBratney
elfyn at exposure dot org dot uk
www.exposure.org.uk
--
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/