Mail Archives: djgpp/1998/04/14/06:10:11
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 -