Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2006 09:22:58 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mikhail Teterin <mi+mx@aldan.algebra.com>
Cc:        stable@freebsd.org, current@freebsd.org
Subject:   Re: cc can't build 32-bit executables on amd64
Message-ID:  <20060502062258.GA62901@gothmog.pc>
In-Reply-To: <200605011604.26507.mi%2Bmx@aldan.algebra.com>
References:  <200605011604.26507.mi%2Bmx@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-05-01 16:04, Mikhail Teterin <mi+mx@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.




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