From: Paul M. <le...@li...> - 2005-10-18 20:15:48
|
On Tue, Oct 18, 2005 at 04:06:13PM -0400, Robert P. J. Day wrote: > according to the gcc man page, there are a pile of m4-selection > options: >=20 > SH Options -m1 -m2 -m2e -m3 -m3e -m4-nofpu -m4-single-only > -m4-single > -m4 -m4a-nofpu -m4a-single-only -m4a-single -m4a -m4al > -m5-64media > -m5-64media-nofpu -m5-32media -m5-32media-nofpu > -m5-compact -m5-compact-nofpu > -mb -ml -mdalign -mrelax -mbigtable -mfmovd -mhitachi > -mrenesas -mno-rene- > sas -mnomacsave -mieee -misize -mpadstruct -mspace > -mprefergot -musermode >=20 >=20 > is there another -m4 type option that might be more appropriate that > could be tested? >=20 -m4 is sensible as the default, however you can also add in additional types that you want to be able to tune for, as presently this is very much tied to the gcc target (this is why we do explicit tuning at the binutils level if we don't have any luck with GCC when doing the kernel build). As Kojima-san pointed out earlier, you can enable additional tuning types with: GCC_EXTRA_CONFIG=3D"--with-multilib-list=3Dm4,m4-nofpu" and any other types you want. -m4/-m4a/-m4al should generally still be the default, though. (For sh4-linux, sh4a-linux, and sh4al-linux respectively, although who knows what gcc expects for a target these days). |