public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: greg zhang <gregzh@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: More than one lib file
Date: Thu, 09 Mar 2000 13:45:00 -0000	[thread overview]
Message-ID: <20000309214539.15348.qmail@web1601.mail.yahoo.com> (raw)

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

WARNING: multiple messages have this Message-ID
From: greg zhang <gregzh@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: More than one lib file
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <20000309214539.15348.qmail@web1601.mail.yahoo.com> (raw)
Message-ID: <20000401000000.r2mSsBV3hFMMgJfKV8ukRIZ_GmEuc9iX1F7QD_N1Vqg@z> (raw)

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

             reply	other threads:[~2000-03-09 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-09 13:45 greg zhang [this message]
2000-03-10  0:38 ` Martin v. Loewis
2000-03-10  0:52   ` Alexandre Oliva
2000-04-01  0:00     ` Alexandre Oliva
2000-04-01  0:00   ` Martin v. Loewis
2000-04-01  0:00 ` greg zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000309214539.15348.qmail@web1601.mail.yahoo.com \
    --to=gregzh@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).