This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
More than one lib file
- To: gcc-help at gcc dot gnu dot org
- Subject: More than one lib file
- From: greg zhang <gregzh at yahoo dot com>
- Date: Thu, 9 Mar 2000 13:45:39 -0800 (PST)
Hi,
Now, I have a question about gcc and libstdc++ lib.
In a server machine, there are two different lib
files(libstdc++), how to let everyone link correct lib
when they build their differenet projects.
Maybe they build simultaneously, so I can't modify lib
directory manually.
I try to modify lib directory in Makefile, such as
/usr/local/lib, or /usr/local/lib2, ...
(through change envirment variable LD_LIBRARY_PATH =
one of them)
It seems gcc always search and link the previous lib
file(/usr/local/lib).
So, could give me a advice how and where to begin
this?
Thanks.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com