gcc -m32 option on amd64.
Sharad Chandra
sharadc at niksun.com
Fri Jul 27 09:46:20 UTC 2007
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 /usr/local/lib/gcc/x86_64-portbld-freebsd6.1/4.2.0/gcc/x86_64-portbld-freebsd6.1/4.2.0/libgcc.a
when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
how can we make this working?
Thanks
Sharad Chandra
More information about the freebsd-hackers
mailing list