This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc assembler


ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk> writes:

> Is it possible to write an assembly program(by me) and
> compile it to produce executable file(a.out)???

Well, sure, if you know how to write the assembler.  Just create
FILE.s, and run "gcc -o EXE FILE.s".  The gcc driver will invoke the
assembler to create a .o file, and then run the linker as usual.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]