Re: cc can't build 32-bit executables on amd64

From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
Date: Tue, 2 May 2006 09:22:58 +0300
On 2006-05-01 16:04, Mikhail Teterin <mi+mx_at_aldan.algebra.com> wrote:
> Can I direct someone's attention to the annoying but easy to fix bug:
>
> 	http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/96570
>
> There are still a few days left to make sure, FreeBSD-6.1 is shipped with
> amd64 being able to link 32-bit executables.
>
> Release Engineers insist, it must be fixed in current first...

cc can build binaries just fine if you also use the -B option:

        % cc -m32 -B/usr/lib32 ...

I know it does because I've used it on my laptop a while ago, running
FreeBSD/amd64.  It's dead now so I can verify this works in all cases,
but it seemed to solve this for me a couple of months ago.
Received on Tue May 02 2006 - 04:23:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC