chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #848: non-cross chickens don't take PROGRAM_PREFIX an


From: Chicken Trac
Subject: [Chicken-janitors] #848: non-cross chickens don't take PROGRAM_PREFIX and PROGRAM_SUFFIX into account when referencing libchicken
Date: Thu, 17 May 2012 13:37:26 -0000

#848: non-cross chickens don't take PROGRAM_PREFIX and PROGRAM_SUFFIX into
account when referencing libchicken
--------------------------------------------------------+-------------------
 Reporter:  mario                                       |       Owner:       
     Type:  defect                                      |      Status:  new  
 Priority:  major                                       |   Milestone:  4.9.0
Component:  build system                                |     Version:  4.7.x
 Keywords:  PROGRAM_PREFIX, PROGRAM_SUFFIX, libchicken  |  
--------------------------------------------------------+-------------------
 In non-cross chickens, csc will attempt to use the name {{{libchicken}}},
 even if {{{PROGRAM_PREFIX}}} or {{{PROGRAM_SUFFIX}}} was set.  This is
 because:

 {{{
 (define default-shared-library-files
   (list (string-append "-l" (if host-mode INSTALL_LIB_NAME
 TARGET_LIB_NAME))))
 }}}

 in csc.scm.  defaults.make sets the variables in question like

 {{{
 INSTALL_LIB_NAME = $(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)
 }}}

 {{{
 TARGET_LIB_NAME ?= chicken
 }}}


 See the thread http://lists.nongnu.org/archive/html/chicken-
 hackers/2012-05/msg00020.html for further details.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/848>
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]