Am 09.03.2011 21:52, schrieb Josh Carroll:
> On Wed, Mar 9, 2011 at 12:15 PM, Thomas David Rivers <[email protected]> 
> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to