This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem building gcc-4.3 snapshot in home dir
- From: Brian Dessent <brian at dessent dot net>
- To: Miles Bader <miles at gnu dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 31 Oct 2007 02:15:03 -0700
- Subject: Re: problem building gcc-4.3 snapshot in home dir
- References: <buosl3rvffl.fsf@dhapc248.dev.necel.com>
- Reply-to: gcc-help at gcc dot gnu dot org
Miles Bader wrote:
> I'm trying to build gcc for installing in my home directory. I've also
> installed some of the gcc prerequisites (in particular, libgmp and
> libmpfr) in my home dir, so I need to tell gcc to search $HOME/lib for
> libraries.
I think you're making this more complicated than it needs to be. You
don't need to muck with BOOT_LDFLAGS or edit any Makefiles, simply
"--with-gmp=$HOME --with-mpfr=$HOME", assuming that you configured both
of those with --prefix=$HOME (as it would appear to be the case.)
Brian