2 * "The Road goes ever on and on, down from the door where it began."
6 #pragma runopts(HEAP(1M,32K,ANYWHERE,KEEP,8K,4K))
11 #define PERL_IN_MINIPERLMAIN_C
14 static void xs_init (pTHX);
15 static PerlInterpreter *my_perl;
17 #if defined (__MINT__) || defined (atarist)
18 /* The Atari operating system doesn't have a dynamic stack. The
19 stack size is determined from this value. */
20 long _stksize = 64 * 1024;
24 main(int argc, char **argv, char **env)
28 #ifdef PERL_GLOBAL_STRUCT
29 #define PERLVAR(var,type) /**/
30 #define PERLVARA(var,type) /**/
31 #define PERLVARI(var,type,init) PL_Vars.var = init;
32 #define PERLVARIC(var,type,init) PL_Vars.var = init;
40 PERL_SYS_INIT3(&argc,&argv,&env);
43 my_perl = perl_alloc();
46 perl_construct(my_perl);
47 PL_perl_destruct_level = 0;
50 exitstatus = perl_parse(my_perl, xs_init, argc, argv, (char **)NULL);
52 exitstatus = perl_run(my_perl);
55 perl_destruct(my_perl);
64 /* Register any extra external extensions */
66 /* Do not delete this line--writemain depends on it */