On Fri, 11 Sep 2009 15:15:28 +0200, Guy Dalziel  
<[email protected]> wrote:

> Your problem here is not the ABI variable, your problem is the fact that
> it can't find a working copy of GCC. Why this is I can't tell you,
> you'll have to check your PATH and backtrace your steps. See the
> attached log, on a 64-bit system it first checks whether the current
> compiler can compile 64-bit binaries, as I've compiled a 32-bit system
> the answer is no so it defaults to 32-bit.

My problem indeed is the ABI variable because, as I've stated before,
setting ABI=32 in the environment and leaving the CFLAGS unchanged
works for me.

> Having said that, however - on a seperate note - the use of ABI=32 should
> stop GMP from checking for 64-bit compatibility to begin with. I don't
> believe that putting ABI=32 in the CFLAGS is working, but using `ABI=32
> ./configure --prefix=/usr --enable-cxx --enable-mpbsd' would serve the
> purpose. Can anyone else with a 64-bit system confirm this?

That works fine, too. It also seems to be the better solution because it
is shorter than mine.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to