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))
13 static void xs_init _((void));
14 static PerlInterpreter *my_perl;
16 #if defined (__MINT__) || defined (atarist)
17 /* The Atari operating system doesn't have a dynamic stack. The
18 stack size is determined from this value. */
19 long _stksize = 64 * 1024;
23 main(int argc, char **argv, char **env)
27 #ifdef PERL_GLOBAL_STRUCT
28 #define PERLVAR(var,type) /**/
29 #define PERLVARI(var,type,init) PL_Vars.var = init;
30 #define PERLVARIC(var,type,init) PL_Vars.var = init;
37 PERL_SYS_INIT(&argc,&argv);
39 perl_init_i18nl10n(1);
42 my_perl = perl_alloc();
45 perl_construct( my_perl );
46 PL_perl_destruct_level = 0;
49 exitstatus = perl_parse( my_perl, xs_init, argc, argv, (char **) NULL );
51 exitstatus = perl_run( my_perl );
54 perl_destruct( my_perl );
63 /* Register any extra external extensions */
65 /* Do not delete this line--writemain depends on it */