From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg zhang To: gcc-help@gcc.gnu.org Subject: More than one lib file Date: Thu, 09 Mar 2000 13:45:00 -0000 Message-id: <20000309214539.15348.qmail@web1601.mail.yahoo.com> X-SW-Source: 2000-03/msg00046.html 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg zhang To: gcc-help@gcc.gnu.org Subject: More than one lib file Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <20000309214539.15348.qmail@web1601.mail.yahoo.com> X-SW-Source: 2000-q1/msg00356.html Message-ID: <20000401000000.r2mSsBV3hFMMgJfKV8ukRIZ_GmEuc9iX1F7QD_N1Vqg@z> 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