|
From: | Claude Marinier |
Subject: | Re: [Chicken-users] chicken & MinGW - path issue and work-around |
Date: | Wed, 13 Jul 2011 09:42:40 -0400 (EDT) |
User-agent: | Alpine 2.00 (GSO 1167 2008-08-23) |
On Wed, 12 Jul 2011, John Cowan wrote:
Claude Marinier scripsit: > $ make PLATFORM=mingw-msys PREFIX=/usr/local Well, you are not supposed to specify a non-existent directory as the PREFIX. Naturally things go wrong after that. Creating the directory is not really a work-around, it's a necessity.
MinGW is a minimal GNU build environment for MS Windows. MSYS is a Unix-like environment for MinGW; it provides a Bourne compatible shell and the standard collection of Unix programs.
In this environment, things like "/usr/local" work normally (from a Unix point of view). Most of the build process worked flawlessly using Unix style commands and paths.
MinGW and MSYS translate things in the background. The one error appears to be caused by a failure to use this translation process. When chicken- install tried to access the library directory, instead of going through this translation
/usr/local/lib/chicken/6 -> C:\MinGW\msys\1.0\local\lib\chicken\6 it tried to access this /usr/local/lib/chicken/6 which Windows interpreted as C:\usr\local\lib\chicken\6 This is why the work-around works. -- Claude Marinier
[Prev in Thread] | Current Thread | [Next in Thread] |