"Ian Lance Taylor" <iant@xxxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ:m3fy6qickk.fsf@xxxxxxxxxxxxxxxxxxxxxxxx >[ Removing CC of mingw-users@xxxxxxxxxxxxxxxxxxxxx as it is a closed > list. ] > >"Zuxy Meng" <zuxy.meng@xxxxxxxxx> writes: > >> "Ian Lance Taylor" <iant@xxxxxxxxxx> D¡ä¨¨????¡éD???:m3slaqidqw.fsf@xxxxxxxxxxxxxxxxxxxxxxxx >> > "Zuxy Meng" <zuxy.meng@xxxxxxxxx> writes: >> > >> >> What will gcc do if I don't specify any -mtune? Will gcc optimize for >> >> some >> >> default target or not do any scheduling at all? >> > >> > It will optimize for the default target. The default target is the >> > one for which it was configured. You can see it by running gcc -v. >> >> Thanks! But what if the 'default target' wasn't configured? >You can't build gcc without specifying a target. I mean what will gcc do if no '--with-cpu' '--with-arch' '--with-tune' etc are given during configuration. Specifically for x86, when neither march nor mtune is given, will gcc merely treat it as march=i386 mtune=i386?