Compiler options hierarchy...

Marco Rinck marco at romulus23.de
Fri Oct 26 10:34:02 PDT 2001


* The Spider <betelguese at inwind.it> [011026 19:00]:
> This is for gcc gurus.......
> I' m just curios about gcc behaviour with an option like "-O2 -O3 -march=i586 -march=i686....."
> 
> Is it a "positional" hierarchy like -O2 -march=i586 or a "optimization" hierarchy -O3 -march=i686 ?
> 

If the same option is given more than once with different values then
the last value will be used. In your given example it would be "-O3
-march=i686". If you gave something like "-O2 -O3 -march=pentium
-march=i386" it would be "-O3 -march=i386"

-- 
Ciao,
Marco

-= http://www.romulus23.de =-
-= http://www.medien-in-deutschland.de =-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list