Message-ID: <002b01c05a1e$a2a4c540$4746a8c0@rchandler> From: "Stephan Diestelhorst" To: References: Subject: Re: RHIDE: Running anothr prog after compiling... Date: Wed, 29 Nov 2000 17:07:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Reply-To: djgpp AT delorie DOT com Hi Eli and all you Gnu-folks out there, thanks for your answer. > One way to do this is to modify your `lib/specs' file. It already > instructs GCC to run an additional program (stubify.exe) right after > the linker finishes. > > Beware: the `specs' file has a cryptic syntax, and if you modify it > incorrectly, you can totally screw up your DJGPP installation! Oh my god, you're absolutely right... :-( > So I'd suggest to try to find another solution for your original > (undisclosed) problem. Perhaps if you explain what that problem is, > someone could suggest a different way of solving it, one that doesn't > require external programs being run after linking. 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 :-) I just hoped that there was a lets say "hidden" switch in RHIDE, to call another prog after invoking the compiler... Is there one? Should I build my own RHIDE? Perhaps I could write some code, which calls the original gcc and then performs the scrambling and replace gcc.exe with it.... mhmmm, could be working... So, again thanks for your superfast response, and thanks in advance for any additional comment. Stephan