Option to generate '.asm' for '.c' files

OP #1174312
Rate this post
useful
not useful
Vinit Bidkar wrote:
> Environment details:
>
> make:                3.18
> binutils:            2.18
> arm-elf-gcc:         4.2.2
> newlib:              1.16.0
>
> Question: What is the option to be passed to the compiler to make it
> generate the '.asm' for the files he compiles?

I have found the answer to my question. Its -S for generating the .s
files using      arm-elf-gcc

But this is a raw format and no symbols are present in the file.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now