Welcome, Guest. Please login or register.

Author Topic: compiling assembly.s files in gcc ... was: gcc wont compile with // comments?  (Read 13530 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Steady

Re: gcc wont compile with // comments?
« on: November 20, 2003, 01:48:46 PM »
If you have a pure assembler file, you need to use an assembler to compile separate object code to be linked later on. The gcc compiler is expecting C syntax, which is why the asm() stuff is needed in the C program.

Maybe gcc has an assembler option that will do the trick. I don't know and can't check because I ain't got it. Someone else should help with that.
 

Offline Steady

Re: gcc wont compile with // comments?
« Reply #1 on: November 20, 2003, 04:43:57 PM »
Which is why I said that there might be an option. Only offering up possibilities.