Unfortunately, UPX is not able to compress the FPC 3.x.y files for DOS/GO32V
2 because their COFF header is slightly different then header from DJGPP.

However, supprisingly, the 32Lite compressor works OK for them.






---------- Původní e-mail ----------
Od: Jerome Shidel via Freedos-devel <freedos-devel@lists.sourceforge.net>
Komu: FreeDOS Developers <freedos-devel@lists.sourceforge.net>
Kopie: jer...@shidel.net
Datum: 4. 11. 2024 11:12:29
Předmět: Re: [Freedos-devel] freepascal package oddities
"

> On Nov 2, 2024, at 11:53 AM, Eric Auer via Freedos-devel <freedos-devel@
lists.sourceforge.net> wrote:
>
>
> Hi! Looking at the 34 MB FPC package, I noticed that:
>
> - quite a few go32v2 binaries in the sources (?) are not UPXed
> - UPX crashes with a failed assertion for some of those
>
> and also that:
>
> - the units / libraries come as .o and some type of binary files
> - not sure where the actual source texts for the libraries are?
>
> I suggest to UPX those exes of go32v2 for which UPX works. Make
> sure to throw away temp files related to exes for which UPX fails
> after attempting to UPX --8086 each exe, though ;-)
>
> Do we have anything which can compress DXE files, by the way?
>
> Regards, Eric
>
> PS: I just forgot to mention that the DOJS binaries are not yet UPXed.
> That would shrink them from 2.5 to 1.2 MB on disk :-)
>

Since FreeDOS 1.4 is fast approaching, I think this should be put off until
after that release.

While UPX compressing the binaries “should” have no ill effects, they would
need still need tested. I don’t think there is sufficient time to do the
proper testing before 1.4 is released.

I think we should leave them as-is for now.


>
> _______________________________________________
> Freedos-devel mailing list
> Freedos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-devel



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel
"
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to