2 * "The Road goes ever on and on, down from the door where it began."
7 /* sbrk is limited to first heap segement so make it big */
8 #pragma runopts(HEAP(8M,500K,ANYWHERE,KEEP,8K,4K) STACK(,,ANY,) ALL31(ON))
10 #pragma runopts(HEAP(2M,500K,ANYWHERE,KEEP,8K,4K) STACK(,,ANY,) ALL31(ON))
16 #define PERL_IN_MINIPERLMAIN_C
19 static void xs_init (pTHX);
20 static PerlInterpreter *my_perl;
22 #if defined (__MINT__) || defined (atarist)
23 /* The Atari operating system doesn't have a dynamic stack. The
24 stack size is determined from this value. */
25 long _stksize = 64 * 1024;
29 main(int argc, char **argv, char **env)
33 #ifdef PERL_GLOBAL_STRUCT
34 #define PERLVAR(var,type) /**/
35 #define PERLVARA(var,type) /**/
36 #define PERLVARI(var,type,init) PL_Vars.var = init;
37 #define PERLVARIC(var,type,init) PL_Vars.var = init;
45 PERL_SYS_INIT3(&argc,&argv,&env);
48 my_perl = perl_alloc();
51 perl_construct(my_perl);
52 PL_perl_destruct_level = 0;
55 exitstatus = perl_parse(my_perl, xs_init, argc, argv, (char **)NULL);
57 exitstatus = perl_run(my_perl);
60 perl_destruct(my_perl);
69 /* Register any extra external extensions */
71 /* Do not delete this line--writemain depends on it */