Mail Archives: djgpp-workers/2001/04/27/12:31:00
> There are two ways:
>
> - set FNCASE=y before zip'ping the package.
>
> - edit the *.mft files so that they have the right letter-case, then
> invoke zip with the manifest file as a response file, like this:
>
> zip -9 fil40b.zip @manifest/fil40b.mft
Hmm - I think recent versions of zip already store the exact case on LFN
systems (I know my zip (2.3.3) has been doing so for a while (I last built
my own end of '99)).
> > > - The problem with "ginstall -s" being unable to work with
> > > PMODE/DJ-stubbed executables sounds disturbing. Does ginstall
> > > work with CWSDSTUB? What about programs compressed with UPX?
> > > If these don't work either, I think we need to fix `strip' to be
> > > able to work with such programs.
> >
> > I don't know - I'll look into that.
>
> If the only problem is with `strip', then Mark probably should take a
> look at this. The case of UPX is not very important (since
> compressing strips the program anyway), but CWSDSTUB and PMODE/DJ
> should IMHO be supported.
>
> In any case, "install -s" should not fail if `strip' didn't work,
> perhaps just print a warning message.
This is a bfd problem; it still uses a fixed-size stub area, so stubs that
aren't exactly as long as the standard stub used by bfd won't work. IIRC
this would be hard to fix, as most bfd routines expect to find the header
info (the coff header, for DJGPP executables) at the start of an object.
With a fixed-size stub, you could just have the stub as the first field
of the header (which is what I think is done now). But with a variable-sized
stub, this becomes much harder (and I don't know if bfd has the needed hooks
for it at the moment).
- Raw text -