Mail Archives: djgpp/2001/02/04/02:06:04
On Sat, 3 Feb 2001, Dan Lewis wrote:
> Is there any way to:
>
> 1) Prevent gcc from invoking stubify after it runs ld?
>
> 2) Prevent gcc from giving ld DJ's linker command script? Although
> puttong "-Wl,-Tlink.cmd" on the gcc command line passes "-Tlink.cmd" to
> ld, gcc also gives ld DJ's script name, as in "-Tdjgpp.djl".
Both of these are determined by the `specs' file (which comes with the
GCC distribution). You can edit `specs' to remove those, if you
understand the cryptic syntax of that file.
However, the Right Thing to do is simply invoke the linker directly, not
via GCC. Then you have full control on what does the linker do, and
stibify won't be run, since it's GCC that runs it, not the linker.
Btw, why do you need these changes?
- Raw text -