State of multilib development update
Rob Andrews
rob at choralone.org
Fri Oct 27 13:40:29 UTC 2006
On 27-Oct-2006 09:38.02 (BST), Hans de Goede wrote:
> 1) gcc ignores setarch
> "gcc -o hello helloworld.c", creates an x86_64 elf file on my x86_64
> system as expected however, "setarch i386 gcc -o hello helloworld.c"
> also creates an x86_64 elf file instead of an i386 one, to get an i386
> one I must do: "gcc -m32 -o hello helloworld.c".
Should gcc pay heed to the uname-specified architecture? You wouldn't expect
setarch i386 to affect the behaviour of a cross compiler. rpmbuild already
does The Right Thing(tm) with selecting -m32 when performing --target=i386
builds, it's just a shame it doesn't get %{_lib} and %{_libdir} correct.
--
rob andrews :: pgp 0x01e00563 :: rob at choralone.org
More information about the fedora-devel-list
mailing list