[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #555: -pthreads needs to be escaped in call to csc
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #555: -pthreads needs to be escaped in call to csc |
Date: |
Fri, 01 Apr 2011 17:01:23 -0000 |
#555: -pthreads needs to be escaped in call to csc
-------------------------+--------------------------------------------------
Reporter: ckeen | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.7.0
Component: extensions | Version: 4.6.x
Keywords: sdl openbsd |
-------------------------+--------------------------------------------------
The sdl egg uses sdl-config to determine the linker flags. On OpenBSD the
pthread library is called -pthread for historical reasons. -p is not
recognised by csc and therefore needs to be escaped with prepending a -C
making it a compiler flag (which gets passed on to the linker later).
The attached patch takes care of the escaping procedure and should not
affect other systems or change much else.
--
Ticket URL: <http://bugs.call-cc.org/ticket/555>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #555: -pthreads needs to be escaped in call to csc,
Chicken Trac <=