This is the mail archive of the
mailing list for the Cygwin project.
Re: g++ linking probs
/ "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk> wrote:
|> / 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
| I can't believe I didn't see that! :-( I've been working way tooooo long.
Yah yah yah blame the work :-)
Hehe I don't know why, today that is the first thing I check for when
people complain, have had a bunch of friends who all does that on
their first try.. To driven into MSVC++.
The eye of the beholder rests on the beauty!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html