cc can't build 32-bit executables on amd64

Mikhail Teterin mi+kde at
Tue May 2 14:29:52 UTC 2006

On Tuesday 02 May 2006 02:22, Giorgos Keramidas wrote:
= cc can build binaries just fine if you also use the -B option:
=         % cc -m32 -B/usr/lib32 ...

Yes, this is a work-around. It is not a solution... /usr/lib32 should be there 

= I know it does because I've used it on my laptop a while ago [...]

Unfortunately, according to the compiler-maintainer, there are some cases, 
when the different include files should also be used in the -m32 case, and 
that appears harder to fix.

Until that is fixed, David is unwilling to pick this very low-hanging fruit 
either. Evidently, he does not "subscribe" to the 80/20 principle :-(


More information about the freebsd-stable mailing list