automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross-compiling on 64 to 32-bit Linux


From: Jan Engelhardt
Subject: Re: cross-compiling on 64 to 32-bit Linux
Date: Sun, 24 May 2009 18:15:57 +0200 (CEST)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

On Sunday 2009-05-24 16:25, Andreas Schwab wrote:

>Bruno Haible <address@hidden> writes:
>
>>   - The -m64 flag is the default on bi-arch Linux systems.
>
>This is wrong.
>
>>   - The -m32 flag has to be passed as part of both CC / CXX and LDFLAGS.
>
>That should not be necessaray, since any command that uses $LDFLAGS
>needs to use $CC/$CXX anyway.

Yourself wrong. Bam.
You see that that is not useful to just claim it's wrong?


Bruno wrote:
>The -m64 flag is the default on bi-arch Linux systems.

-m64 is the default on where it has been configured so. Just because
your shiny x86_64 install does that, does not mean it is universal.
Oftentimes RISCs, and sparc64 is usually one of these, defaults to
defaulting to 32, because 64 is slower there. Of course you can
compile a gcc that defaults to 64.

>needs to use $CC/$CXX anyway.

CCLD/CXXLD.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]