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]

GCC 4.0.3 Assembler (arm-elf-as) Error


Hi,

I am using Gcc-4.0.3 ARM Cross-Compiler for my project. My project was earlier compiled using ADS v1.2 complier. When building assembly files with Gcc-4.0.3, the following error occurs:
../boot.S:1: Error: junk at end of line, first unrecognized character is `-'


The assembly code in first few lines are:
 @-----------------------------------------
 @ Filename: boot.s                 ------- 


The assembler is invoked using following options:
arm-elf-as -mcpu=arm7tdmi -march=armv4t -mthumb -mthumb-interwork  -o ../obj/boot.o ../boot.S

Can anybody tell me the problem cause and how to solve it?
Is there any documentation/manual available for "GCC ARM Assembler" ?

Regards,
Kanwal




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