Friday 15 February 2013

c - GCC - error while compiling -


I try to create an XE program by assembling code in assembler and C:

GCC- M32 Aaa aaa.saa.c

And I get an error:

GCC: aaa: no such file or directory

in C file Only includes stdio h I have read that the problem may be that the GCC can not find the library, but I am not sure whether this is the case and even if that is what I should do to make this work?

You are missing a flag to identify the output executable. Try

  gcc -m32 -a aaa aaa.c    

No comments:

Post a Comment