This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re:Re: how can i build a gcc to generate a.out binary format(not ELF)?
- To: gcc-help at gcc dot gnu dot org
- Subject: Re:Re: how can i build a gcc to generate a.out binary format(not ELF)?
- From: zjj <zjj3143 at 263 dot net>
- Date: Sun, 11 Mar 2001 10:05:04 +0800
- References: <ory9uel11d.fsf@guarana.lsd.ic.unicamp.br>
- Reply-To: zjj <zjj3143 at 263 dot net>
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