Googling around I found the following answer: https://stackoverflow.com/questions/24726509/gcc-cross-compiler-is-using-the-wrong-assembler But which internal variable can be set when building GCC so that it is not necessary to provide the option -Bprefix ?