delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/11/08:45:47

Date: Fri, 11 Oct 1996 08:36:30 -0400
Message-Id: <199610111236.IAA15563@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de
CC: djgpp-workers AT delorie DOT com
Subject: Re: Linker script (Was Re: binutils 2.7 questions)

> What is "AFAIK" ?? I'v searched all my dictionaries for it, but no
> success.

As Far As I Know

> 1) The deafult target of ld is overwritten by the 'djgpp.djl' file. That
>    means, if you call ld through gcc, the output format is 'coff-go32',
>    the raw coff format.

Both specs and djgpp.djl will need to be modified to directly use the
new feature.  I suspect that stubify will need to be smart enough to
detect that its input file is already an exe, for the "gcc -o foo"
cases.

> 2) The stubify.exe prepends to a coff image a hardcoded stub. That
>    means, the environment variable $(STUB), which was mentioned by DJ,
>    is used only by the binutils (including ld), when writing the
>    'coff-go32-exe' format. Here comes my suggestion to DJ, to change
>    the stubify in that way, also to use that variable for determining
>    the stub.

Interesting idea.

- Raw text -


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