Inconsistency between -Xassembler and -Wa option

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

 



Hi,

I have a question about the -Xassembler option. I was testing and ran
across some inconsistency between the -Xassembler option and the -Wa
option. I was wondering if I am using an option incorrectly or if
there is indeed something wrong.

I call gcc on a .s file and I pass -v option to get the version of the
assembler...

1st time, call gcc -Xassembler -v file ....expect assembler version
2nd time, call gcc -Wa,-v file ....expect assembler version
3rd time, call gcc -v file ....expect compiler commands and version

The results show that 1st and 3rd results are nearly the same, while
2nd result gives me just the assembler version. It seems like
-Xassembler is not just restricted to assembler options.

Is this expected ?

Shafi


[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