delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Fri, 6 Feb 2004 13:51:52 -0500 |
Message-Id: | <200402061851.i16Ipq6I013270@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <20040206015132.04483.00001364@mb-m10.aol.com> (sterten@aol.com) |
Subject: | Re: attaching source code to the ececutable |
References: | <20040205162505 DOT 24020 DOT qmail AT web41110 DOT mail DOT yahoo DOT com> <20040206015132 DOT 04483 DOT 00001364 AT mb-m10 DOT aol DOT com> |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> I should also mention, that I usually have a simple routine and a commandline > switch which prints the attached sourcecode of these .exes. If you just want to print the sources (or any text file), use djgpp's bin2h program. That will turn the source into an includable .h file which you can use to print from. Any program that relies on extra data being "after the executable" is going to have problems with djgpp, because "the executable" is only 2k bytes long and the whole program is already attached after it! That's how we manage to run 32-bit programs in a 16-bit environment.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |