This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to change which assembler GCC uses
- To: James Montgomerie <jrmg at dcs dot ed dot ac dot uk>
- Subject: Re: How to change which assembler GCC uses
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 01 Feb 2001 19:04:58 -0500
- cc: gcc at gcc dot gnu dot org
>>>>> James Montgomerie writes:
James> I'm at the stage in development where I'd like to integrate the launching
James> of these programs with GCC, however they have a significantly different
James> command-line structure to their GNU equivalents on other platforms. I
James> can't find anywhere in the GCC
James> documentation where it says whee to change the linking//assembling
James> command-line syntax for a platform. Can someone point me in the right
James> direction?
The name of the assembler defaults to "as" and the name of the
linker defaults to "ld", unless DEFAULT_ASSEMBLER and DEFAULT_LINKER
macros are defined (see gcc.c driver). One changes the rest of the
commandline arguments with the ASM_SPEC and LINK_SPEC macros.
David