This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Executable/Toolchain questions
- From: Bahadir Balban <bahadir dot balban at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 13 May 2005 23:03:35 +0000
- Subject: Executable/Toolchain questions
- Reply-to: Bahadir Balban <bahadir dot balban at gmail dot com>
Hello,
1) If I build a test.o, and try to convert it to flat binary by:
arm-elf-ld test.o -o test.bin -Ttext 0x8000 -e main --oformat binary -N,
it complains for specifying an output format for an arm-elf able ld.
it makes sense for me since the name is "arm-elf"-ld. But then what ld
should I have to do this?
2) The fields in a tool configuration are cpu, os, manufacturer, and
kernel. So elf is specified as part of cpu field perhaps? Why do I
need to have an object-format-specific toolchain compiled? Can't I
produce many formats with one toolchain?
Many thanks,
Bahadir