From: bk AT cheerful DOT com (Bill Klein) Subject: Re: EXE has file junk in it 3 Jun 1997 17:39:21 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3.0.2.32.19970603114015.006ac94c.cygnus.gnu-win32@pop.total.net> References: <3 DOT 0 DOT 2 DOT 32 DOT 19970603001221 DOT 00773b74 AT pop DOT total DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: bklein AT pop DOT total DOT net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Original-To: gnu-win32 AT cygnus DOT com In-Reply-To: <33942F7F.4ECE@ixos-leipzig.de> Original-Sender: owner-gnu-win32 AT cygnus DOT com I wrote: >> I have noticed, upon examining a few of the >> EXE files that I created using GNU Win32, that >> they have "junk" from other unrelated text files >> on the same hard drive (but not the same folder). >> Has anyone seen this before, or know what is >> causing this? Gunther wrote: >No, I have never seen this and I can't imagine how >such things could happen. How did you realize this >behaviour? Could you give some hints how to reproduce >it? I realized it because I am nosy and thought to myself, "hey, why not open the EXE in a text editor just for fun." :) I have a folder: D:\Programming\GNU Development\test\ With only the file "test.c" in it. The file contains: #include int main( void ) { printf( "Testing 1 2 3 %d!!!!", 4 ); return 0; } I compile it using the command line: gcc -o test.exe test.c and it makes a 14KB EXE... The EXE works fine, but if I look inside it using a text editor (or just by typing "type test.exe" at the prompt), I see some code from another program in the folder (I think): D:\Programming\GNU Development\cgivars\ I'm using Windows 95... Bill Klein - http://bk.base.org/ "For every browser, there is an equal and opposite rebrowser." -Bill Klein - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".