[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #848: non-cross chickens don't take PROGRAM_PREFI
From: |
Chicken Trac |
Subject: |
Re: [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:42:06 -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
Resolution: | Keywords: PROGRAM_PREFIX, PROGRAM_SUFFIX,
libchicken
---------------------------+------------------------------------------------
Description changed by mario:
Old description:
> 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.
New 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.
--
--
Ticket URL: <http://bugs.call-cc.org/ticket/848#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.