[ale] asembler? assembling?
Chris Fowler
cfowler at outpostsentinel.com
Thu Apr 4 21:06:14 EST 2002
take the file and uas as to assemble it.
as <file.S> -o file.o
It will create an object file
gcc -o file file.o 0 -lc
Here we go:
gcc -S -o file.S file.c
as file.S -o file.o
gcc -o file file.o -lc
Now file is an executable. In the last statement you are
just using GCC to link the library with the object. No compiling
is done.
Chris
-----Original Message-----
From: Stephen Turner [mailto:artic_knight at yahoo.com]
To: ale at ale.org
Sent: Thursday, April 04, 2002 8:52 PM
To: ale at ale.org
Subject: [ale] asembler? assembling?
is assembler code runable? in gcc the -s option makes
the compiler stop when it makes the assembler but what
about assembling the code? what does that do?
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list