This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble doing bootstrap


On Oct 13, 2010, at 9:07 PM, Ian Lance Taylor wrote:

> Paul Koning <paul_koning@dell.com> writes:
> 
>> My build system doesn't have LD_LIBRARY_PATH defined so whatever is
>> the Linux default would apply.  Perhaps I should change that.  But it
>> seems strange that configure finds the prerequisites and then ends up
>> generating makefiles that produce a compiler that can't find those
>> things, even when it's built into the same /usr/local as the libraries
>> it depends on.
> 
> Yes, it's a mess.  But we don't know of any really clean way to fix it.
> 
> I very strongly recommend that if you want to build gcc's supporting
> libraries yourself, rather than getting them from your distro, that you
> configure them with --disable-shared when you build them.
> 
> Or, if you must, add /usr/local/lib to your /etc/ld.so.conf file or to
> one of your /etc/ld.so.conf.d files, and run ldconfig.

I tried the static-only approach.  That worked for quite a while and then blew up with some java bits complaining they couldn't find libgmp.so.  So for now I'm doing the ldconfig thing.

	paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]