Michael Eager <[EMAIL PROTECTED]> writes:

> GCC accepts the -T<script> command line option and
> passes this to the linker as -T<script>, as well as
> suppressing any passing the linker the default linker script.
> 
> Unfortunately, -T <script> gets passed to the assembler.
> 
> The option doesn't appear in the GCC docs or in gcc -help.
> I also can't locate where the gcc driver is processing the
> -T option.
> 
> Is the missing documentation an oversight or is the option
> deprecated or something else?

"-T arg" is passed to the assembler because of ASM_SPEC in
gcc/config/svr4.h.  The %{T} has been there since svr4.h was added
back in 1992.

I have no idea what -T means to the SVR4 assembler.

Ian
  • -T option Michael Eager
    • Re: -T option Ian Lance Taylor

Reply via email to