Compiler options hierarchy...

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

* The Spider <betelguese at> [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"


-= =-
-= =-
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list