Reputation:
When I run:
/opt/local/bin/arm-elf-gcc-4.7 test.c -o test
gcc decides to use as -o test.o test.s instead of the cross compiler's assembler. How do I specify the correct assembler to use?
gcc
as -o test.o test.s
Upvotes: 2
Views: 1856
Use -B PREFIX to set the correct assembler.
Upvotes: 1