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;
16 static struct perl_thread *thr; /* XXXXXX testing */
18 #if defined (__MINT__) || defined (atarist)
19 /* The Atari operating system doesn't have a dynamic stack. The
20 stack size is determined from this value. */
21 long _stksize = 64 * 1024;
25 main(int argc, char **argv, char **env)
29 #ifdef PERL_GLOBAL_STRUCT
30 #define PERLVAR(var,type) /**/
31 #define PERLVARA(var,type) /**/
32 #define PERLVARI(var,type,init) PL_Vars.var = init;
33 #define PERLVARIC(var,type,init) PL_Vars.var = init;
41 PERL_SYS_INIT(&argc,&argv);
44 my_perl = perl_alloc();
47 perl_construct( my_perl );
48 PL_perl_destruct_level = 0;
51 exitstatus = perl_parse( my_perl, xs_init, argc, argv, (char **) NULL );
53 exitstatus = perl_run( my_perl );
56 perl_destruct( my_perl );
65 /* Register any extra external extensions */
67 /* Do not delete this line--writemain depends on it */