chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #375: Wrong linker option for csc on Windows/cygwin


From: Chicken Trac
Subject: [Chicken-janitors] #375: Wrong linker option for csc on Windows/cygwin
Date: Fri, 10 Sep 2010 02:52:21 -0000

#375: Wrong linker option for csc on Windows/cygwin
------------------------+---------------------------------------------------
 Reporter:  mario       |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  major       |   Milestone:  4.7.0
Component:  core tools  |     Version:  4.6.x
 Keywords:  csc linker  |  
------------------------+---------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/375>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]