|
Boost Users : |
From: Foster, Gareth (gareth.foster_at_[hidden])
Date: 2004-11-11 04:19:48
I suppose that means that in the redhat/fedora case these things are already
in the path or something? Not that it matters really, just odd that I never
had that problem :)
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of paul wisehart
Sent: 10 November 2004 13:42
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] hello world in boost ?
OK OK I got it finally !
THanks for your help.
Now that I'm looking back its sorta obvious, but I
guess I didn;t really now that when you use "-l<some-lib>"
with g++ (any compiler?) the its just the name of the
physical library in "/usr/local/lib" (or wherever)
with the "lib" part cut off.
So I was able to get a hello_world.cpp to compile by
doing:
g++ \
-lboost_regex-gcc \
-L/usr/local/lib \
-I/usr/local/include/boost-1_31 \
hello_world.cpp
It was the "-lboost_regex-gcc" part that was tripping
me up. I wasn't putting the "-gcc" on the end.
Thanks again!
-- paul \ / wisehart >/ <//////$> |\|\|\ _______________________________________________ Boost-users mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net