how to create small DJGPP binaries? (Developers)
> Besides compressing with UPX, how can I create smaller DJGPP binaries?
> or say, which DJGPP gcc creates smaller binaries? any compiler switches can
> reduce binary size without performance impact?
> Can OpenWatcom C drop-in replacing DJGPP gcc here?
There's not much to do, you can revert to older versions of DJDEV and GCC as newer makes bigger code. I observed that during time the compressed size of simple exe growed about 15kB from old gcc 3.x to latest 4.7.2. It's not so much. You can save some space using CRT flags to disable some functions like command line processing - if you dont need e.g. wildcards expansion, environment... this can save some kB. Also you can implement your own better libc. Small command line utils I wrote are usually 50-60kB after compression, one complex tool about 100kB, not bad for me...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- how to create small DJGPP binaries? - roytam, 11.01.2013, 06:52 (Developers)
- how to create small DJGPP binaries? - RayeR, 11.01.2013, 10:56
- how to create small DJGPP binaries? - roytam, 12.01.2013, 14:27
- how to create small DJGPP binaries? - Laaca, 11.01.2013, 16:18
- how to create small DJGPP binaries? - RayeR, 11.01.2013, 19:26
- how to create small DJGPP binaries? - georgpotthast, 11.01.2013, 22:27
- how to create small DJGPP binaries? - Arjay, 12.01.2013, 12:43
- how to create small DJGPP binaries? - RayeR, 12.01.2013, 21:35
- how to create small DJGPP binaries? - marcov, 14.01.2013, 09:48
- how to create small DJGPP binaries? - Arjay, 12.01.2013, 12:43
- how to create small DJGPP binaries? - georgpotthast, 11.01.2013, 22:27
- how to create small DJGPP binaries? - RayeR, 11.01.2013, 19:26
- how to create small DJGPP binaries? - Rugxulo, 13.01.2013, 21:25
- how to create small DJGPP binaries? - roytam, 14.01.2013, 04:52
- how to create small DJGPP binaries? - Rugxulo, 14.01.2013, 15:30
- how to create small DJGPP binaries? - roytam, 28.10.2021, 16:03
- how to create small DJGPP binaries? - kerravon, 28.10.2021, 21:45
- how to create small DJGPP binaries? - roytam, 29.10.2021, 14:38
- how to create small DJGPP binaries? - kerravon, 29.10.2021, 15:54
- how to create small DJGPP binaries? - tkchia, 30.10.2021, 07:29
- how to create small DJGPP binaries? - kerravon, 29.10.2021, 15:54
- how to create small DJGPP binaries? - roytam, 29.10.2021, 14:38
- how to create small DJGPP binaries? - Rugxulo, 01.11.2021, 14:03
- how to create small DJGPP binaries? - kerravon, 28.10.2021, 21:45
- how to create small DJGPP binaries? - roytam, 14.01.2013, 04:52
- how to create small DJGPP binaries? - RayeR, 11.01.2013, 10:56