How do I convert from .c to .asm

P

pepo

Hi friends...
Please, How do I convert from .c to .asm (assembler file)? I need the
source of that application, not only "gcc -S myTest.c".

thanks
 
D

Dominik Zanettin

Please, How do I convert from .c to .asm (assembler file)? I need the
source of that application, not only "gcc -S myTest.c".

you might find sourecode for compilers at
http://www.idiom.com/free-compilers/

another valuable source of information about writing compilers is
Aho, Sethi, Ullman [1985]; Compilers - Principles, Techniques, and Tools;
Addison Wesley

and at usenet comp.compilers

with regards
zhan
 
I

Irrwahn Grausewitz

Hi friends...
Please, How do I convert from .c to .asm (assembler file)? I need the
source of that application, not only "gcc -S myTest.c".

Pardon?!? Assuming the application is written in C, the .c and .h
files constitute the "source of that application". Assembler is
inherently platform dependent and therefore off-topic in comp.lang.c.

And since you already know how to make your compiler generate
assembly language output, what else do you want?

Cross-post & Followup to gnu.gcc.help.

Regards
 
E

Emmanuel Delahaye

In said:
Hi friends...
Please, How do I convert from .c to .asm (assembler file)? I need the
source of that application, not only "gcc -S myTest.c".

It's not a C question. It's a compiler issue. Please consult your
documentation at 'generate assembly output' or the like.
 
B

Ben Pfaff

Irrwahn Grausewitz said:
Pardon?!? Assuming the application is written in C, the .c and .h
files constitute the "source of that application". Assembler is
inherently platform dependent and therefore off-topic in comp.lang.c.

I think he's asking "where can I find source for the compiler?"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top