delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/13/01:51:00

Date: Thu, 12 Jan 95 22:41 MST
From: mat AT ardi DOT com (Mat Hostetter)
To: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Cc: jeearr AT dns1 DOT cpcc DOT cc DOT nc DOT us, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: termcap
References: <01HLRUJSV6HU000KCN AT VAX1 DOT ROCKHURST DOT EDU>

>>>>> "Aaron" == Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU> writes:

    Aaron> Not significantly slower, and with GCC you don't have to
    Aaron> worry about all the minor details.  Ld is generally used by
    Aaron> itself only in order to pass an option not otherwise
    Aaron> supported--which is pretty rare, esp. w/DJGPP.

gcc lets you pass even "unsupported" options on to the linker.  From
gcc.info:

`-Xlinker OPTION'
     Pass OPTION as an option to the linker.  You can use this to
     supply system-specific linker options which GNU CC does not know
     how to recognize.

     If you want to pass an option that takes an argument, you must use
     `-Xlinker' twice, once for the option and once for the argument.
     For example, to pass `-assert definitions', you must write
     `-Xlinker -assert -Xlinker definitions'.  It does not work to write
     `-Xlinker "-assert definitions"', because this passes the entire
     string as a single argument, which is not what the linker expects.

-Mat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019