Re: State of multilib development update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux