Mail Archives: djgpp/1996/01/29/11:39:46
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 <crt0.h>
int _crt0_startup_flags = _CRT0_FLAG_NONMOVE_SBRK;
Then you can use the `_djgpp_nearptr_enable' function (also described in
the library docs).
- Raw text -