This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Compiling and linking 32 bit code on a 64 machine (AMD Optero n)
- From: Daniel Jacobowitz <drow at false dot org>
- To: "CARTER-HITCHIN, David, GBM" <David dot CARTER-HITCHIN at rbos dot com>
- Cc: "'H. J. Lu'" <hjl at lucon dot org>, "'binutils at sourceware dot org'" <binutils at sourceware dot org>
- Date: Fri, 23 Jun 2006 13:28:36 -0400
- Subject: Re: Compiling and linking 32 bit code on a 64 machine (AMD Optero n)
- References: <3B4C77997DD0254B86D3C9454476B6BC057A94@lonms00812.fm.rbsgrp.net>
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