chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH][5] Move C_path_to_executable into runtime


From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH][5] Move C_path_to_executable into runtime and add executable-pathname procedure
Date: Thu, 16 Apr 2015 20:27:38 +1200

On 2015-04-04 22:32, Felix Winkelmann wrote:
> Private repositories are required for -deploy, at least.
> 
> But CoreFoundation is available on every MacOS system, so we can
> simply add it to the libraries linked by default (as -ldl is on
> Linux, for example).

Here's a nicer option, and a more thorough patch -- it removes the
CoreFoundation dependency in favor of using _NSGetExecutablePath, which
is always available.

Tested on Linux, OpenBSD, FreeBSD, Haiku, Solaris, Mac OS X, MinGW/MSYS,
Cygwin, and GNU Hurd.

Evan

Attachment: 0001-Move-C_path_to_executable-into-runtime-and-add-execu.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]