Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2006 19:00:21 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        noackjr@alumni.rice.edu, stable@freebsd.org, current@freebsd.org
Subject:   Re: cc can't build 32-bit executables on amd64
Message-ID:  <200605011900.22011.mi%2Bmx@aldan.algebra.com>
In-Reply-To: <445691FE.6000608@alumni.rice.edu>
References:  <200605011604.26507.mi%2Bmx@aldan.algebra.com> <200605011739.02920.mi%2Bmx@aldan.algebra.com> <445691FE.6000608@alumni.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
понед╕лок 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605011900.22011.mi%2Bmx>