user1702098
user1702098

Reputation:

gcc cross compiler is using the wrong assembler

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?

Upvotes: 2

Views: 1856

Answers (1)

user1702098
user1702098

Reputation:

Use -B PREFIX to set the correct assembler.

Upvotes: 1

Related Questions