[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to link with gcc-3.0.1?
From: |
Pascal Bourguignon |
Subject: |
Re: how to link with gcc-3.0.1? |
Date: |
Mon, 15 Oct 2001 17:53:28 +0200 (CEST) |
> Date: Mon, 15 Oct 2001 09:33:18 -0600
> From: Adam Fedor <fedor@doc.com>
>
> pauljohn@ukans.edu wrote:
>
> > On RedHat linux 7.1, with gcc-3.0.1 (built here!) I am able to
> > compile gnustep-make-1.0.1 and gnustep-base-1.0.2.tar.gz.
> >
> > I can compile some apps, such as Autodoc. However, when I try to
> > run programs, I get the error that it cannot find libobjc.so.1.
> > I do have that file in
> > /usr/local/lib/gcc-lib/i386-redhat-linux/3.0.1.
> >
> > It seems to me as though the environment command:
> > . /usr/local/GNUstep/System/Makefiles/GNUstep.sh
> > somehow breaks the LD_LIBRARY_PATH.
> >
>
>
> GNUstep.sh doesn't know to include
> usr/local/lib/gcc-lib/i386-redhat-linux/3.0.1
>
> in the LD_LIBRARY_PATH, and in fact, it can't, because some smarter
> distributions of gcc 3.0.x actually put libobjc.so in /usr/local/lib and
> symlink to the above path. I haven't figured out a test that's smart
> enough to figure this out, so for now you have to do it by hand
> (probably good to just add this to your /etc/ld.so.conf file.)
I would say that it's up to the programmer to choose his compiler and
set up the environment needed by this compiler. When I don't use the
"standard" compiler on a system, of course I have to set
LD_LIBRARY_PATH on my own.
What could GNUstep.sh do when there are three or four gcc compilers
installed on the system?
--
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------