Mail Archives: djgpp-workers/1996/10/11/08:45:47
> 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 -