This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Executable/Toolchain questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]