Brian Dessent <brian@xxxxxxxxxxx> writes: >> 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.) Thanks, that sounds like a good workaround. Beyond the immediate practical issue of getting gcc built, I'd also like to find out if this is (1) a bug that should be reported, (2) a "known limitation" (gcc isn't expected to work with non-standard prefixes), or (3) my confusion (I should have set some other option or something). The fact that it uses different LDFLAGS for stage1 and stage2/3 seems a little odd to me, since it's using the same linker (and libraries) in both cases. [If nobody here knows, I guess I'll just go ahead and file it as a bug and see what happens.] Thanks, -Miles -- `Life is a boundless sea of bitterness'