cc can't build 32-bit executables on amd64
Mikhail Teterin
mi+mx at aldan.algebra.com
Mon May 1 23:01:01 UTC 2006
понеділок 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
More information about the freebsd-current
mailing list