Compiling and linking 32 bit code on a 64 machine (AMD Optero n)

Daniel Jacobowitz drow@false.org
Fri Jun 23 17:30:00 GMT 2006


On Fri, Jun 23, 2006 at 06:21:08PM +0100, CARTER-HITCHIN, David, GBM wrote:
> g++ -Wl,--verbose -Wl,-L,/usr/lib -Wl,--format,elf32-i386
> -Wl,-m,elf_i386 -o hello
> -L/apps/IRDtools/pkgs/pd/gcc/3.4.6/o1/lib/gcc/x86_64-unknown-linux-gnu/3.4.6
> /32 -L/usr/lib

Did you see my reply, where I explained why this was wrong?

  http://sourceware.org/ml/binutils/2006-06/msg00334.html

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list