From: csantill AT lausd DOT k12 DOT ca DOT us Message-ID: <342DB150.8C494F01@lausd.k12.ca.us> Date: Sat, 27 Sep 1997 18:22:24 -0700 MIME-Version: 1.0 To: ckern AT junkmailnetnitco DOT net, djgpp AT delorie DOT com Subject: RE: newbie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk from: csantill AT lausd DOT k12 DOT ca DOT us I hope "main(void)" was a typo because everyone on the list will tell you it should be "int main(void)" Anyways, try compiling like this "gcc -s -c foo.c -o foo.o" The "-s" will remove the symbol information but watch out not to put "gcc -S -c foo.c -o foo.o" because that will give you an AT&T asm file called "foo.o" which is what gcc does to your code before it is finally compile the asm code to machine code then linked. It might be useful if want to fully optimize before send it to the compiler though.