Summary

non-cross chickens don't take PROGRAM_PREFIX and PROGRAM_SUFFIX into account when referencing libchicken

Metadata

Description

In non-cross chickens, csc will attempt to use the name libchicken, even if PROGRAM_PREFIX or PROGRAM_SUFFIX has been 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.

Changes and comments

[2012-05-17 15:42:06 UTC] mario changed description

[2013-02-07 13:17:05 UTC] mario changed status from new to closed

[2013-02-07 13:17:05 UTC] mario set resolution to fixed

[2013-02-07 13:17:05 UTC] mario wrote:

Fixed by 5fe91ae31df87b46cda0d91ec8bb4892353596ac