Wrong linker option for csc on Windows/cygwin
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
Change History (5)
Owner: |
set to felix winkelmann
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Should be fixed in "master" + "experimental".