This is the mail archive of the gcc@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]

Re: How to change which assembler GCC uses


>>>>> 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

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