[Freedos-devel] UNIX utilities, arg parser, installer software
In my playing about with FreeDOS, I wrote my own versions of cat, head, wc, and split. For these, I also wrote a small library for parsing command-line options in a typical DOS-like fashion. Finally, I also wrote a program called the Multi-Disk Split Archive Installer (MDSAI) which is an installer program designed for deploying software too big for a single floppy disk. You put the installer on the first diskette, along with a file that describes what's being installed, and then on each diskette, have a sequential piece of a ZIP archive. MDSAI will cat them together and then extract in the C drive. I wrote these for myself. They may need to be modified or have new options before they are ready for others to use. If you are interested in these, let me know where I should publish them. I'm releasing them all under the GNU All-Permissive License. Happy Hacking, David E. McMackins II Supporting Member, Electronic Frontier Foundation (#2296972) Associate Member, Free Software Foundation (#12889) www.mcmackins.org www.delwink.com www.eff.org www.gnu.org www.fsf.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
Re: [Freedos-devel] FreeDOS PASSWORD executable size
Hi, On Sat, Jun 23, 2018, 9:09 PM David McMackins wrote: > I've noticed that PASSWORD is written for FreePascal, but the executable > in the distribution is only 8k in size. When I compile myself, it is > 60k. How is it being stripped to that small size? > Depends, I haven't looked closely, but try -CX -XXs -O3 . But 8 kb sounds like it used TP55 instead. FPC is very very good, but it won't do miracles. IIRC, 30 kb or so for "Hello, world!" is reasonable (e.g. Go32v2 target). > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel
[Freedos-devel] FreeDOS PASSWORD executable size
I've noticed that PASSWORD is written for FreePascal, but the executable in the distribution is only 8k in size. When I compile myself, it is 60k. How is it being stripped to that small size? Happy Hacking, David E. McMackins II Supporting Member, Electronic Frontier Foundation (#2296972) Associate Member, Free Software Foundation (#12889) www.mcmackins.org www.delwink.com www.eff.org www.gnu.org www.fsf.org -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel