From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: stub.h & stub.exe Date: 3 Jul 2003 09:45:15 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 39 Message-ID: References: NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eric Wajnberg (wajnberg AT antibes DOT inra DOT fr) wrote: : I recently upgraded to the lastest djgpp version, on Windows 98. : I am developing a C-code in a file my_file.c, leading to a my_file.exe. : I am now getting regularly several files my_file.000, my_file.001, : my_file.002, etc., all of about 390 ko. And your .EXE is ca 390kB too, right? : In it, it is written things like: : stub.h generated from stub.asm by djasm, on Mon Dec 24 21:21:52 2001 : The STUB.EXE stub loader is Copyright (C) 1993-1995 DJ Delorie. : Permission granted to use for any purpose provided this copyright : remains present and unmodified. : This only applies to the stub, and not necessarily the whole program. : $Id: stub.asm built 12/24/01 21:21:52 by djasm $ : @(#) stub.asm built 12/24/01 21:21:52 by djasm : etc... : What are these files? How I can get rid of them? What are these stub.h & : stub.exe? If you add "-v" to gcc's command line you will see them being generated. They are temporary files made during the last stage of generating an .EXE when the programs are prepended the stub that make them DOS .EXE files. They should normally automatically be removed. Which versions of GCC and DJGPP (include the date on libc.a too) are you using? Right, MartinS