diff --git a/configure b/configure index d17c0c0..d717ede 100755 --- a/configure +++ b/configure @@ -4488,6 +4488,9 @@ case "$target_os" in *bsd*) LDFLAGS="-Wl,-E $LDFLAGS" ;; + *cygwin*) + LDFLAGS="-Wl,-E -Wl,--export-all-symbols $LDFLAGS" + ;; esac # Checks for libraries. diff --git a/configure.ac b/configure.ac index a8e6c1e..621bca4 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,9 @@ case "$target_os" in *bsd*) LDFLAGS="-Wl,-E $LDFLAGS" ;; + *cygwin*) + LDFLAGS="-Wl,-E -Wl,--export-all-symbols $LDFLAGS" + ;; esac # Checks for libraries. diff --git a/doc/ikarus-users-guide.pdf b/doc/ikarus-users-guide.pdf index 0f3e2e4..bc00a34 100644 Binary files a/doc/ikarus-users-guide.pdf and b/doc/ikarus-users-guide.pdf differ diff --git a/scheme/last-revision b/scheme/last-revision index 822fe63..79e6287 100644 --- a/scheme/last-revision +++ b/scheme/last-revision @@ -1 +1 @@ -1117 +1118 diff --git a/src/ikarus-enter.s b/src/ikarus-enter.s index 5f187f7..087b43f 100644 --- a/src/ikarus-enter.s +++ b/src/ikarus-enter.s @@ -18,7 +18,6 @@ .text .globl ik_asm_enter .globl _ik_asm_enter -.globl ik_underflow_handler .globl ik_foreign_call .globl _ik_foreign_call .globl ik_asm_reenter @@ -138,90 +137,3 @@ L_set: # (label Lset) movl 8(%esi), %esp # (movl (pcb-ref 'frame-pointer) fpr) movl 0(%esi), %ebp # (movl (pcb-ref 'allocation-pointer) apr) ret # (ret))) - -#ifdef __CYGWIN__ - .section .drectve - - .ascii " -export:ik_collect" - .ascii " -export:ik_collect_vararg" - .ascii " -export:ik_dump_dirty_vector" - .ascii " -export:ik_dump_metatable" - .ascii " -export:ik_error" - .ascii " -export:ik_stack_overflow" - .ascii " -export:ik_system" - .ascii " -export:ik_uuid" - .ascii " -export:ikrt_bignum_shift_left" - .ascii " -export:ikrt_bignum_shift_right" - .ascii " -export:ikrt_bignum_to_bytevector" - .ascii " -export:ikrt_bnbncomp" - .ascii " -export:ikrt_bnbndivrem" - .ascii " -export:ikrt_bnbnlogand" - .ascii " -export:ikrt_bnbnminus" - .ascii " -export:ikrt_bnbnmult" - .ascii " -export:ikrt_bnbnplus" - .ascii " -export:ikrt_bnfxdivrem" - .ascii " -export:ikrt_bnfxminus" - .ascii " -export:ikrt_bvftime" - .ascii " -export:ikrt_bytes_allocated" - .ascii " -export:ikrt_bytes_allocated_major" - .ascii " -export:ikrt_bytevector_to_flonum" - .ascii " -export:ikrt_close_file" - .ascii " -export:ikrt_delete_file" - .ascii " -export:ikrt_environ" - .ascii " -export:ikrt_even_bn" - .ascii " -export:ikrt_exit" - .ascii " -export:ikrt_file_exists" - .ascii " -export:ikrt_fixnum_shift_left" - .ascii " -export:ikrt_fixnum_to_flonum" - .ascii " -export:ikrt_fl_acos" - .ascii " -export:ikrt_fl_asin" - .ascii " -export:ikrt_fl_atan" - .ascii " -export:ikrt_fl_cos" - .ascii " -export:ikrt_fl_equal" - .ascii " -export:ikrt_fl_exp" - .ascii " -export:ikrt_fl_invert" - .ascii " -export:ikrt_fl_less" - .ascii " -export:ikrt_fl_less_or_equal" - .ascii " -export:ikrt_fl_log" - .ascii " -export:ikrt_fl_round" - .ascii " -export:ikrt_fl_sin" - .ascii " -export:ikrt_fl_sqrt" - .ascii " -export:ikrt_fl_tan" - .ascii " -export:ikrt_flfl_expt" - .ascii " -export:ikrt_fork" - .ascii " -export:ikrt_fx_acos" - .ascii " -export:ikrt_fx_asin" - .ascii " -export:ikrt_fx_atan" - .ascii " -export:ikrt_fx_cos" - .ascii " -export:ikrt_fx_log" - .ascii " -export:ikrt_fx_sin" - .ascii " -export:ikrt_fx_sqrt" - .ascii " -export:ikrt_fx_tan" - .ascii " -export:ikrt_fxbnlogand" - .ascii " -export:ikrt_fxbnminus" - .ascii " -export:ikrt_fxbnmult" - .ascii " -export:ikrt_fxbnplus" - .ascii " -export:ikrt_fxfxminus" - .ascii " -export:ikrt_fxfxmult" - .ascii " -export:ikrt_fxfxplus" - .ascii " -export:ikrt_fxrandom" - .ascii " -export:ikrt_getenv" - .ascii " -export:ikrt_intern_gensym" - .ascii " -export:ikrt_is_weak_pair" - .ascii " -export:ikrt_make_code" - .ascii " -export:ikrt_open_input_file" - .ascii " -export:ikrt_open_output_file" - .ascii " -export:ikrt_positive_bn" - .ascii " -export:ikrt_read" - .ascii " -export:ikrt_register_guardian_pair" - .ascii " -export:ikrt_set_code_annotation" - .ascii " -export:ikrt_set_code_reloc_vector" - .ascii " -export:ikrt_setenv" - .ascii " -export:ikrt_stats_now" - .ascii " -export:ikrt_string_to_symbol" - .ascii " -export:ikrt_strings_to_gensym" - .ascii " -export:ikrt_waitpid" - .ascii " -export:ikrt_weak_cons" - .ascii " -export:ikrt_write_file" - .ascii " -export:ik_foreign_call" -#endif