Philipp Marek <philipp <at> marek.priv.at> writes: > > gcc -S tmp.S for some reason prints to stdout, so gcc -S tmp.S > tmp.s > > is what you need > Thank you very much, I'll take a look. I tried very hard to achieve that; and one time it seemed to work, but I cannot make it work again.
As an example I'm trying to expand the macros in the linux kernel source file arch/x86/kernel/entry_64.S I tried to call "gcc -S", to put the various "-I.." paths as needed, and I even renamed my "as" to "as.bin" and tried to get the assembler source directly (by using "gcc -S $COLLECT_GCC_OPTIONS sourcefile") ... I cannot make it work again ... Do you have some other hint for me? Thank you very much. Regards, Phil