On May 4, 2004, at 5:34 AM, Dan Sugalski wrote:
The right way to fix this is to have a file with the acceptable exportable symbols and a fix to the link stage to convince the linker that it should *only* export these symbols.
I have this working locally on Mac OS X--I expect it will be rather platform-specific. (Of course, this can only be done if libparrot is being built shared.) But FYI, these are the symbols which need to be exported in order for parrot (the executable) to link--wouldn't have expected some of them, which probably means that there's some stuff in imcc/main.c which should be pulled down into the library.
JEff
_Parrot_new _PackFile_fixup_subs _PackFile_new _PackFile_pack _PackFile_pack_size _Parrot_destroy _Parrot_exit _Parrot_init _Parrot_loadbc _Parrot_readbc _Parrot_runcode _Parrot_set_flag _Parrot_set_run_core _Parrot_setup_opt _Parrot_setwarnings _buffer_unmake_COW _emit_close _emit_open _fatal _gc_off _imc_cleanup _imc_compile_all_units _imcc_init _info _line _longopt_get _mem_sys_allocate _mem_sys_free _optimizer_level _output _pasm_file _sourcefile _str_dup _yydebug _yyin _yylex _yyparse