Laaca
Czech republic, 29.08.2022, 10:31 |
UPX is maybe again capable to compress FPC 3.x.y files (Developers) |
Hello! Few years ago I reported to UPX team a bug about unability to pack the Freepascal 3 compiled files for DOS (and also some DJGPP programms)
There was no activity in this topic and the bugreport was nearly closed as "stale" but I have overspoken Reiser to fix it.
He believes that it works now.
But it is in the Devel branch and it has no binary releases. It shouldn't be very difficult to build it from sources but it needs the properly set GNU C environment with GCC at least 6.1.
I have only some half working DJGPP with GCC 3 for experiments with Allegro.
If somebody has a suitable GCC/DJGPP maybe you could brew a test binary for us...
Link to "Devel" tree of UPX: here
Link to related patch fixing the FPC-3 compression: here
Link about this bugreport: here --- DOS-u-akbar! |
Ringding
30.08.2022, 11:39
@ Laaca
|
UPX is maybe again capable to compress FPC 3.x.y files |
> If somebody has a suitable GCC/DJGPP maybe you could brew a test binary for
> us...
You don’t need a DJGPP build in order to compress a DJGPP executable, or do you? Building and running on Linux would be a lot easier. |
Laaca
Czech republic, 30.08.2022, 12:56
@ Ringding
|
UPX is maybe again capable to compress FPC 3.x.y files |
> > If somebody has a suitable GCC/DJGPP maybe you could brew a test binary
> for
> > us...
>
> You don’t need a DJGPP build in order to compress a DJGPP executable, or
> do you? Building and running on Linux would be a lot easier.
Right. I found that it is even possible to download some automatic builds for linux and for windows. So I tried a build for Win32 (unfortunately does not run under windows 98).
The results are not good. The DJGPP binary can be packed but then does not work anymore. However after decompression id works again. --- DOS-u-akbar! |
roytam
31.08.2022, 01:36
@ Laaca
|
UPX is maybe again capable to compress FPC 3.x.y files |
> > > If somebody has a suitable GCC/DJGPP maybe you could brew a test
> binary
> > for
> > > us...
> >
> > You don’t need a DJGPP build in order to compress a DJGPP executable,
> or
> > do you? Building and running on Linux would be a lot easier.
>
> Right. I found that it is even possible to download some automatic builds
> for linux and for windows. So I tried a build for Win32 (unfortunately does
> not run under windows 98).
> The results are not good. The DJGPP binary can be packed but then does not
> work anymore. However after decompression id works again.
you may try this gcc build to build upx under win98: https://github.com/fsb4000/gcc-for-Windows98/releases/tag/gcc11.1.0 |