This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble building GCC
Uri Moszkowicz <uri@4refs.com> writes:
> I'm building this software in a non-standard location because it needs
> to be accessible from an NFS mount on all machines so putting it in
> /usr/local/lib and modifying ld.conf.so are not possible. It will only
> be used for building my company's software so it's not clear that I
> would even want to put it in standard system paths.
If you are doing your own builds of mpfr, mpc, etc., in nonstandard
locations, then configure them with --disable-shared. That will cause
only static archives to be installed for them, which means that when
it comes time to build gcc it will link against them statically.
Ian