Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 08:24:01 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Michael Reifenberger <mike@Reifenberger.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: producing/using i386 libs/apps under amd64
Message-ID:  <20050524152401.GA31564@dragon.NUXI.org>
In-Reply-To: <20050524165452.A9190@fw.reifenberger.com>
References:  <20050524165452.A9190@fw.reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524152401.GA31564>