cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/16/05:16:48

From: Christopher Bier <chbier AT yahoo DOT com>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 980414130442 DOT 3323C-100000 AT is>
NNTP-Posting-Host: conr-ddas2-a20.lcc.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <stdio.h>
> >
> > 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!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019