producing/using i386 libs/apps under amd64

David O'Brien obrien at freebsd.org
Tue May 24 08:24:02 PDT 2005


On Tue, May 24, 2005 at 05:14:14PM +0200, Michael Reifenberger wrote:
> (/sys/boot/ficl/):
> make testmain fails with:
> cc -O -pipe -fno-strict-aliasing -ffreestanding 
> -mpreferred-stack-boundary=2 -DTESTMAIN -D_TESTMAIN  -m32 -I. 
> -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386  
> -I/usr/src/sys/boot/ficl/../common -c /usr/src/sys/boot/ficl/testmain.c
> cc -O -pipe -fno-strict-aliasing -ffreestanding 
> -mpreferred-stack-boundary=2 -DTESTMAIN -D_TESTMAIN  -m32 -I. 
> -I/usr/src/sys/boot/ficl -I/usr/src/sys/boot/ficl/i386  
> -I/usr/src/sys/boot/ficl/../common  -o testmain dict.o ficl.o fileaccess.o 
> float.o loader.o math64.o prefix.o search.o stack.o tools.o vm.o words.o 
> sysdep.o softcore.o testmain.o
>  /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for 
>  -lgcc /usr/bin/ld: cannot find -lgcc
> *** Error code 1
> 
> (Here it seems that the linker is not aware of the -m32 option)

We do not yet support building 32-bit binaries under FreeBSD/amd64.
We support running them.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-amd64 mailing list