Jan Engelhardt writes:
>>needs to use $CC/$CXX anyway.
>
> CCLD/CXXLD.
Which default to $CC/$CXX anyway.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
You could use the -m32 compiler argument to ensure the creation of a
32bit binary
Greetings ...
On Sat, 2009-05-23 at 12:49 -0600, John Calcote wrote:
> Hi everyone,
>
> I was wondering what the procedure was for cross-compiling 32-bit apps
> on a 64-bin Linux system? Do you need special libra
On Sun, 24 May 2009, Jan Engelhardt wrote:
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 o
On Sunday 2009-05-24 16:25, Andreas Schwab wrote:
>Bruno Haible 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 $LD
Bruno Haible writes:
> - 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.
> - The -m64 flag is the default on bi-arch Linux systems.
This is wrong.
Andreas.
--
Andreas S
> what the procedure was for cross-compiling 32-bit apps on a 64-bin Linux
> system?
You need a bi-arch system, that is, one that has the system libraries both in a
64-bit variant and in a 32-bit variant (typically in /lib64 and /lib,
respectively).
For compiling in 32-bit mode, I use
./conf
On Sat, 23 May 2009, John Calcote wrote:
Hi everyone,
I was wondering what the procedure was for cross-compiling 32-bit apps on a
64-bin Linux system? Do you need special libraries. What command-line options
are used? That sort of thing. I'm happy to read up on it, if there are
references th
On Saturday 2009-05-23 20:49, John Calcote wrote:
> Hi everyone,
>
> I was wondering what the procedure was for cross-compiling 32-bit apps on a
> 64-bin Linux system? Do you need special libraries. What command-line options
> are used? That sort of thing. I'm happy to read up on it, if there are
Hi everyone,
I was wondering what the procedure was for cross-compiling 32-bit apps
on a 64-bin Linux system? Do you need special libraries. What
command-line options are used? That sort of thing. I'm happy to read up
on it, if there are references that you can point me to.
Thanks in advance