Mail Archives: djgpp/1995/01/13/01:51:00
>>>>> "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 -