Author Login
Post Reply
How do you compile for i686 on Mandriva?
In /usr/lib/rpm/manbo/rpmrc I see:
macrofiles:
/usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:/etc/rpm/macros.d/*.macros:~/.rpmmacros
"/usr/lib/rpm/%{_target}/macros" is not the same as
"/usr/lib/rpm/platform/i686-linux/macros".
And what are all the *.macros files for in /etc/rpm/macros.d and how do
you choose to compile for one of those *.macros files?
To compile for i686 do I have to put this line:
buildarchtranslate: i686: i686
in my .rpmrc file?
And does this line of /usr/lib/rpm/manbo/rpmrc:
optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables
get used when compiling for i686 or is there some other optflags line of
some other macro that gets used?
vatbier