Date: Wed, 29 Nov 2000 19:26:37 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Stephan Diestelhorst" Message-Id: <7458-Wed29Nov2000192636+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <002b01c05a1e$a2a4c540$4746a8c0@rchandler> (syon@topmail.de) Subject: Re: RHIDE: Running anothr prog after compiling... References: <002b01c05a1e$a2a4c540$4746a8c0 AT rchandler> Reply-To: djgpp AT delorie 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 Precedence: bulk > From: "Stephan Diestelhorst" > Date: Wed, 29 Nov 2000 17:07:33 +0100 > > My problem is (but I think this can't be solved WITHOUT "postprocessing" the > generated exe), that I have a tiny self written app, > that scrambles some part of the EXE file, very easy algorithm, but I don't > like all that ASCII-Strings and other stuff in my EXE to be > seen for free :-) You could use an executable compressor, such as UPX or DJP. In any case, if your scrambling algorithm is easy, you can count on someone being smart enough to unscramble it. > I just hoped that there was a lets say "hidden" switch in RHIDE, to call > another prog after invoking the compiler... > Is there one? I don't think so, but GCC switches are notoriously under-documented... > Perhaps I could write some code, which calls the original gcc and > then performs the scrambling and replace gcc.exe with it.... It strikes me that it will be easier to learn the syntax of `specs' than to write an additional program. However, should you decide to replace GCC, you can start with gxx.c, the source of gxx.exe, which is in djlsr203.zip.