From: Christopher Bier Newsgroups: comp.os.msdos.djgpp Subject: Re: startup functions on gnu c/c++? Date: Thu, 16 Apr 1998 04:02:32 -0500 Organization: LCC Internet Lines: 17 Message-ID: <3535C928.DF3166EB@yahoo.com> References: NNTP-Posting-Host: conr-ddas2-a20.lcc.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > > On Tue, 14 Apr 1998, Christopher Bier wrote: > > > While you might not be able to define new start-up > > functions, you can define your own versions of preexisting ones. > > > > #include > > > > void __crt0_setup_arguments (void); > > Beware: this way, you lose the command-line arguments' setup normally > done by the startup code. (You could, of course, take the source of the > library version of __crt0_setup_arguments and *add* whatever you need to > it.) Hooray for free source!