Fixed dynamic loading problem in the cygwin port. Apparently, no

one is using the bzr version of Ikarus under cygwin since it's been
broken for some time now.
This commit is contained in:
Abdulaziz Ghuloum 2007-11-23 02:29:46 -05:00
parent 57171a243a
commit ccce44fffa
5 changed files with 7 additions and 89 deletions

3
configure vendored
View File

@ -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.

View File

@ -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.

Binary file not shown.

View File

@ -1 +1 @@
1117
1118

View File

@ -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