guile-user
[Top][All Lists]
Advanced

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

Re: guile-2.0 on mingw: the sequel


From: Eli Zaretskii
Subject: Re: guile-2.0 on mingw: the sequel
Date: Mon, 26 Aug 2013 05:35:35 +0300

> From: address@hidden (Ludovic Courtès)
> Date: Sun, 25 Aug 2013 20:59:03 +0200
> 
> > Why should this feature be limited to Windows builds of Guile?  Why
> > not make it work for Posix platforms as well?  Some other projects
> > already do, they use argv[0] and PATH search to find the place where
> > the executable is installed, and record relative file names from
> > there.
> 
> This is not completely reliable when using argv[0] because argv[0] can
> be anything, though this can be work around on Linux-based systems with
> /proc/self/exe as done in
> <http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/patches/guile-relocatable.patch>.

Indeed.

> Here’s a proposal: add a --enable-relocatable configure option, have it
> default to yes on MinGW and Cygwin (assuming there’s a method that works
> reliably on these), and default to no elsewhere; alternately, have it
> default to no everywhere.
> 
> WDYT?

Sounds good to me, thanks.




reply via email to

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