Date: Wed, 09 Mar 2011 22:44:39 +0100 From: Matthias Andree <matthias.andree@gmx.de> To: freebsd-stable@freebsd.org Subject: Re: bin/139146 still not right in FreeBSD 8.2 (-m32 on amd64)? Message-ID: <4D77F4C7.5020304@gmx.de> In-Reply-To: <AANLkTi=CKCtNS5p4vJcAmhQ7eiuJfcM65VfFwCGTvGzf@mail.gmail.com> References: <201103092015.p29KFd0U077849@dave.dignus.com> <AANLkTi=CKCtNS5p4vJcAmhQ7eiuJfcM65VfFwCGTvGzf@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 09.03.2011 21:52, schrieb Josh Carroll:
> On Wed, Mar 9, 2011 at 12:15 PM, Thomas David Rivers <rivers@dignus.com> wrote:
>>
>> Just installed a fresh 8.2-stable on a brand-spanking-new 64-bit
>> machine...
>>
>> But, when I try to build 32-bit programs I get problems linking,
>> and I stumbled onto PR bin/139146.
>>
>> The PR mentions this quick test:
>>
>> uname -sr && echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc -m32 t.c
>
> Add -B/usr/lib32 to the gcc command line, e.g.:
>
> echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc
> -m32 -B/usr/lib32 t.c
>
> Then it should work.
I experienced the same some time ago - but:
Shouldn't this (-B/usr/lib32) be subsumed under the -m32 switch in the
future?
Best regards
--
Matthias Andree
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D77F4C7.5020304>
