Date: Mon, 29 Jan 1996 18:26:22 +0200 (IST) From: Eli Zaretskii To: Jan Oonk Cc: djgpp AT delorie DOT com Subject: Re: Issues with nearptr's. On 29 Jan 1996, Jan Oonk wrote: > I tried the nearptr example! > > I got an compile-error: > crt0_flag_nonmove_sbrk not declared or something > > it's not defined anywhere... i looked everywhere.. > i am using djgpp v2 b4 gcc 2.7.1 That ``everywhere'' probably doesn't include the library docs, because these flags are described there, on the `_crt0_startup_flags' page. You should say something like this in your program: #include int _crt0_startup_flags = _CRT0_FLAG_NONMOVE_SBRK; Then you can use the `_djgpp_nearptr_enable' function (also described in the library docs).