| www.delorie.com/archives/browse.cgi | search |
| Newsgroups: | comp.os.msdos.djgpp |
| From: | manni DOT heumann AT gmx DOT de (Manni Heumann) |
| Subject: | Re: Big EXE's |
| References: | <3850ffb5 DOT 0 AT news1 DOT mweb DOT co DOT za> <83emcu4pnw DOT fsf AT mercury DOT st DOT hmc DOT edu> <385182ac DOT 4495025 AT news DOT clara DOT net> |
| X-Newsreader: | News Xpress 2.01 |
| Date: | Sat, 11 Dec 1999 10:57:38 GMT |
| NNTP-Posting-Host: | ppp36-372.hrz.uni-bielefeld.de |
| Message-ID: | <38522e23@news.uni-bielefeld.de> |
| X-Trace: | 11 Dec 1999 11:57:39 +0200, ppp36-372.hrz.uni-bielefeld.de |
| Lines: | 21 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
In article <385182ac DOT 4495025 AT news DOT clara DOT net>, ryot AT bigfoot DOT com (George Ryot) wrote:
>Nate Eldredge <neldredge AT hmc DOT edu> wrote:
>
>> See also FAQ section 8.13.
>
>The advice in that section about substituting the startup functions
>only seems to work for C programs.
>
>Is there anything similar which can be done for C++ programs?
For C++ you also have to specify extern "C" when you provide, e.g., your own
glob function:
extern "C"
char **__crt0_glob_function (char* argument) { return 0;}
--
Manni
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |