Message-ID: <6M$JTfqjccB@jocokko.edition.bonbit.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: kay AT edition DOT bonbit DOT org (Kay Hayen) Subject: How to decrease exe filesize Date: 10 Dec 1996 00:00:00 +0000 Newsgroups: comp.os.msdos.djgpp Distribution: world Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Hallo. I've made a set of two little tool with djgpp 2.0 that generate or apply patches to binaries. Now my question: I use puts(), fopen(), fread(), fwrite() and sprintf() out of stdlib and this result in 60k filesize for both tools. But at least the tool to apply patches should be as small as possible. How could I reduce the (packed) filesize ? Are there portable ways to do this or would more direct access to DOS be some help ? Could one post me (here or mail) example code on how to solve this problem ? Any ideas ? Thanks in advance, Kay Hayen -- = <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> >>Shareware nutzen ist gut, sie zu registrieren auch. >Diese Nachricht besteht zu 100% aus recycelten Elektronen. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>