I am following a website ( http://wiki.osdev.org/GCC_Cross-Compiler ) to learn how to cross compile some code for different architectures. So, the first step is to download and compile Binutils for a specific target.
The site say to assign the varible TARGET with i686-elf because then the binutils will be able to handle code in the format specified by $TARGET.
export PREFIX="$HOME/opt/cross"
export TARGET=i686-elf
export PATH="$PREFIX/bin:$PATH"
So, my question is that
Can i get a list of targets that is supported by Binutils?
If the variable TARGET can contain anything or must be something that is supported by Binutils i.e would there be an error during compiling the source code of binutils, if the TARGET is something that binutils doesnt understand?