felix winkelmann scripsit:
> A new development-snapshot (2.522) is now available at
> the chicken website.

It builds successfully on a clean (no Chicken) Cygwin system.
However, when doing desultory acceptance testing, I accidentally
typed "csc -static foo.scm" (instead of "csc -shared foo.scm")
and got this:

x.o:x.c:(.text+0x3): undefined reference to `__imp__C_temporary_stack'
x.o:x.c:(.text+0x6a): undefined reference to `__imp__C_stack_limit'
x.o:x.c:(.text+0x7f): undefined reference to `__imp__C_temporary_stack'
x.o:x.c:(.text+0xa4): undefined reference to `__imp__C_fromspace_top'
x.o:x.c:(.text+0xab): undefined reference to `__imp__C_fromspace_limit'
x.o:x.c:(.text+0xb8): undefined reference to `__imp__C_temporary_stack'
x.o:x.c:(.text+0xd7): undefined reference to `__imp__C_temporary_stack'
x.o:x.c:(.text+0x12d): undefined reference to `__imp__C_fromspace_top'
x.o:x.c:(.text+0x173): undefined reference to `__imp__C_temporary_stack'
x.o:x.c:(.text+0x193): undefined reference to `__imp__C_timer_interrupt_counter'
x.o:x.c:(.text+0x1b0): undefined reference to `__imp__C_stack_limit'
x.o:x.c:(.text+0x209): undefined reference to `__imp__C_timer_interrupt_counter'
x.o:x.c:(.text+0x226): undefined reference to `__imp__C_stack_limit'
x.o:x.c:(.text+0x280): undefined reference to `__imp__C_timer_interrupt_counter'
x.o:x.c:(.text+0x29d): undefined reference to `__imp__C_stack_limit'
x.o:x.c:(.text+0x311): undefined reference to `__imp__C_timer_interrupt_counter'
x.o:x.c:(.text+0x32e): undefined reference to `__imp__C_stack_limit'
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc x.o 
/usr/local/lib/libchicken.a -o x -L/usr/local/lib -Wl,-R/usr/local/lib -static  
-ldl -lffi -lm /usr/local/lib/libchicken.a

Is this a bug, or is it simply that Cygwin doesn't support -static?

-- 
John Cowan <[EMAIL PROTECTED]>             http://www.ccil.org/~cowan
Today an interactive brochure website, tomorrow a global content
management system that leverages collective synergy to drive "outside of
the box" thinking and formulate key objectives into a win-win game plan
with a quality-driven approach that focuses on empowering key players
to drive-up their core competencies and increase expectations with an
all-around initiative to drive up the bottom-line. --Alex Papadimoulis


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to