www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/02/14:46:43

From: brunobg AT geocities DOT com (Bruno Barberi Gnecco)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using functions to make prog smaller.
Date: 2 Aug 1998 13:40:08 -0500
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
Lines: 22
Message-ID: <35c4b086.5556501@news3.newscene.com>
References: <Pine DOT LNX DOT 3 DOT 96 DOT 980802120002 DOT 16813B-100000 AT shell DOT flite DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 2 Aug 1998 12:02:53 -0400 (EDT), stp AT shell DOT flite DOT net wrote:

>Hi. I tried using the 3 functions that were described in the djgppfaq.txt
>file and looked at the libc.inf file and I couldn't get them to work.
>The 3 functions were:
>__crt0_glob_function
>__crt0_environment_file
>and __crt0_setup_arguments
>Can someone posibly send me the code to make this work, cause I'd like my
>progs to be as small when compiling with djgpp as they are with other
>compilers.

Type this, outside main():

char **__crt0_glob_function(char *_argument) { }
void   __crt0_load_environment_file(char *_app_name) { }
void   __crt0_setup_arguments(void) { }


"There's never enough time to do all the nothing you want" Bill Watterson 
Bruno Barberi Gnecco <brunobg AT geocities DOT com> ICQ #1383173 - PGP 5.0i user 
My other OS is Linux -=- http://graphx.home.ml.org -=- Electric Eng, Poli

- Raw text -


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