Re: gcc -m32 option on amd64.

2007-08-10 Thread Sharad Chandra
On Friday 27 Jul 2007 3:50 pm, Peter Jeremy wrote: On 2007-Jul-27 15:13:48 +0530, Sharad Chandra [EMAIL PROTECTED] wrote: I am trying gcc -m32 on freebsd 6.1 amd64 env, but it does not seems to be working. i also installed /usr/port/lang/linux-libgcc/ but did not help what i did is= echo main

Re: gcc -m32 option on amd64.

2007-07-30 Thread Tom Evans
On Sat, 2007-07-28 at 17:55 +1000, Peter Jeremy wrote: On 2007-Jul-27 17:32:35 +0100, Tom Evans [EMAIL PROTECTED] wrote: gcc on amd64 is capable of generating i386 code, but ld on amd64 is incapable of linking i386 code together without serious amounts of work. Can you elaborate on what you

Re: gcc -m32 option on amd64.

2007-07-30 Thread Giorgos Keramidas
On 2007-07-30 09:24, Tom Evans [EMAIL PROTECTED] wrote: On Sat, 2007-07-28 at 17:55 +1000, Peter Jeremy wrote: On 2007-Jul-27 17:32:35 +0100, Tom Evans [EMAIL PROTECTED] wrote: gcc on amd64 is capable of generating i386 code, but ld on amd64 is incapable of linking i386 code together without

Re: gcc -m32 option on amd64.

2007-07-28 Thread Peter Jeremy
On 2007-Jul-27 17:32:35 +0100, Tom Evans [EMAIL PROTECTED] wrote: gcc on amd64 is capable of generating i386 code, but ld on amd64 is incapable of linking i386 code together without serious amounts of work. Can you elaborate on what you mean by incapable of linking i386 code? The stock ld can

gcc -m32 option on amd64.

2007-07-27 Thread Sharad Chandra
Hi guys, I am trying gcc -m32 on freebsd 6.1 amd64 env, but it does not seems to be working. i also installed /usr/port/lang/linux-libgcc/ but did not help what i did is= echo main () {} t.c; gcc -m32 t.c /usr/bin/ld: skipping incompatible

Re: gcc -m32 option on amd64.

2007-07-27 Thread Peter Jeremy
On 2007-Jul-27 15:13:48 +0530, Sharad Chandra [EMAIL PROTECTED] wrote: I am trying gcc -m32 on freebsd 6.1 amd64 env, but it does not seems to be working. i also installed /usr/port/lang/linux-libgcc/ but did not help what i did is= echo main () {} t.c; gcc -m32 t.c /usr/bin/ld: skipping

Re: gcc -m32 option on amd64.

2007-07-27 Thread Tom Evans
On Fri, 2007-07-27 at 20:20 +1000, Peter Jeremy wrote: On 2007-Jul-27 15:13:48 +0530, Sharad Chandra [EMAIL PROTECTED] wrote: I am trying gcc -m32 on freebsd 6.1 amd64 env, but it does not seems to be working. i also installed /usr/port/lang/linux-libgcc/ but did not help what i did is= echo