This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 4.0.3 Assembler (arm-elf-as) Error
- From: Kanwal Preet Singh CHANANA <kanwalpreet dot singh at st dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 31 May 2006 15:10:00 +0530
- Subject: 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