how can i build a gcc to generate a.out binary format(not ELF)?

zjj zjj3143@263.net
Sat Mar 10 17:59:00 GMT 2001


Hi, Alexandre:

Saturday, March 10, 2001, 12:07:26 PM, you wrote:
AO> This is not about the compiler, but about the assembler and linker,
AO> that are part of binutils.  You have to configure them with a triplet
AO> that indicates you want a.out binaries.  Which triplet it is depends
AO> on which architecture you want it to target.  Even if GCC doesn't call
AO> the linker in a way that causes it to generate non-a.out binaries,
AO> there's always objcopy.  You may want to configure binutils with
AO> --enable-targets=all.
very thanks for your reply.But i don't know what triplet i should use
to configure binutils:is the i686-pc-aout or i386-aout or something
else ? my cpu is PII 266 and my linux is Redhat6.0 and my gcc being
used is gcc-2.91.66. Could you give me some help again? Very THANKS!

Best regards,
           zjj
           2001/3/11




More information about the Gcc-help mailing list