#81346 - Crs - Fri Apr 28, 2006 4:23 pm
Hi guys,
Should be simple one.. I'm having a bit of trouble linking an asm file to my project.
to compile it I am using:
arm-elf-as -mthumb-interwork -o <FILE.O> <FILE>.S
this produces the object '.o' file
((and compiling my normal c files like: arm-elf-g++ -O2 -g -mcpu=arm7tdmi -mthumb-interwork -c <FILE>.C))
The functions in the asm file are declared as extern in the c file but when calling either one I get an undefined reference.
Am I missing anything or should I get posting some code?
Thanks
Chris.
_________________
www.hazardball.com
Should be simple one.. I'm having a bit of trouble linking an asm file to my project.
to compile it I am using:
arm-elf-as -mthumb-interwork -o <FILE.O> <FILE>.S
this produces the object '.o' file
((and compiling my normal c files like: arm-elf-g++ -O2 -g -mcpu=arm7tdmi -mthumb-interwork -c <FILE>.C))
The functions in the asm file are declared as extern in the c file but when calling either one I get an undefined reference.
Am I missing anything or should I get posting some code?
Thanks
Chris.
_________________
www.hazardball.com