cc can't build 32-bit executables on amd64

Sean Bryant bryants at
Mon May 1 23:25:09 UTC 2006

Then why not work on adding the functionality? I'm sure freebsd people
would love to have a proper working 32 bit compatibility layer
On 5/1/06, Mikhail Teterin <mi+mx at> wrote:
> понеділок 01 травень 2006 18:55, Jonathan Noack написав:
> > Did you miss the previous reply which mentioned using '-B/usr/lib32
> > -B/usr/local/lib32' in addition to '-m32'?
> I did not miss this work-around. But it is not a proper way -- one need not
> specify -B/usr/lib in the 64-bit case. Nor should one need to
> specify -B/usr/lib32, when using the -m32 flag.
> The gcc's multilib.h functionality is just for that. We just aren't using it
> (although we do for for aout) -- presumably, because there *was* a much
> bigger fish to fry to enable such compiles...
>         -mi
> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

Sean Bryant

More information about the freebsd-stable mailing list