chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #776: shared lib link arguments in makefile are not t


From: Chicken Trac
Subject: [Chicken-janitors] #776: shared lib link arguments in makefile are not transmitted to eggs
Date: Fri, 13 Jan 2012 08:56:03 -0000

#776: shared lib link arguments in makefile are not transmitted to eggs
-------------------------------+--------------------------------------------
 Reporter:  zbigniew           |       Owner:       
     Type:  enhancement        |      Status:  new  
 Priority:  not urgent at all  |   Milestone:       
Component:  build system       |     Version:  4.7.x
 Keywords:                     |  
-------------------------------+--------------------------------------------
 Linker options for shared libraries are all hardcoded in csc (or passed in
 via CSC_OPTIONS) -- any options set in the Makefile, e.g. via
 LINKER_LINK_SHARED_DLOADABLE_OPTIONS, are not honored.

 Specifically, on OS X, the {{{-headerpad 128}}} option is used to reserve
 extra space for {{{install_name_tool}}} to do its work.  Without it, egg
 installation may fail once the Chicken PREFIX gets too long.

 The current workaround is to set {{{CSC_OPTIONS='-Wl,-headerpad
 -Wl,128'}}} prior to calling {{{chicken-install}}}.

 It might be nice to add variables into the makefile which are accessible
 by csc and used to provide default link options to eggs.  This should also
 allow some of the hardcoded options in csc to be moved out into the
 Makefiles.

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