How to change which assembler GCC uses
David Edelsohn
dje@watson.ibm.com
Thu Feb 1 16:06:00 GMT 2001
>>>>> 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
More information about the Gcc
mailing list