Summary

Wrong linker option for csc on Windows/cygwin

Metadata

Description

The bin path is being given to the linker:

 $ /home/mario/local/master/bin/csc hello-world.scm
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lchicken
 collect2: ld returned 1 exit status
 
 Error: shell command terminated with non-zero exit status 256: gcc hello-world.o -o hello-world -L"/home/mario/local/master/bin" -lchicken -lm 

It works if I give the linker the right lib path:

 $ /home/mario/local/master/bin/csc -L/home/mario/local/master/lib hello-world.scm
 
 $ ./hello-world.exe
 hello

Changes and comments

[2010-09-10 09:02:02 UTC] felix changed status from new to assigned

[2010-09-10 09:02:02 UTC] felix set owner to felix

[2010-09-10 09:02:16 UTC] felix changed milestone from 4.7.0 to 4.6.0

[2010-09-10 13:15:54 UTC] felix changed status from assigned to closed

[2010-09-10 13:15:54 UTC] felix set resolution to fixed

[2010-09-10 13:15:54 UTC] felix wrote:

Should be fixed in "master" + "experimental".

[2010-09-10 13:45:27 UTC] mario wrote:

Just tested it here. Works fine. Thanks.

[2011-04-04 08:31:00 UTC] felix wrote:

Milestone 4.6.0 deleted

[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0