options for later passes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is there an easy way to figure out which options need to be passed to
later compilation passes? If I do a:

gcc -S -dA -fverbose-asm -mcpu=750 -O2 -mmultiple -fpic gcc1test.c

What should be used for assembly:

gcc -c ??? gcc1test.s

and linking:

gcc -ogcc1test gcc1test.s

I am pretty sure the link will need the -fpic. Probably also something
like -pthread? Maybe the assembler would need to allow something like
altivec? So as a general rule should it see the cpu (or arch) option?
Does anyone else need the -O2?

kevin

P.S.:  Do the order of the optimization options matter: '-O2 -mcpu=750
-mmultiple' the same as '-mmultiple -mcpu=750 -O2'?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux