delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/06:10:11

Date: Tue, 14 Apr 1998 13:06:34 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Christopher Bier <chbier AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: startup functions on gnu c/c++?
In-Reply-To: <35330B14.F9D6578B@yahoo.com>
Message-ID: <Pine.SUN.3.91.980414130442.3323C-100000@is>
MIME-Version: 1.0

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.)

- Raw text -


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