1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS base on Windows with INSTALL_LOCATION on a different drive |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Date: | Tue, 16 Nov 2010 11:16:14 +0100 |
Hi Dirk,
On Monday 15 November 2010 04:00:07 Dirk Zimoch wrote:I tried to follow the example in configure/os/CONFIG_SITE.win32-x86.Common: INSTALL_LOCATION = C:/epics/base-3.14.12
This does not work because make reads lines starting with C: as rules for building the file C. Using \\ instead of / also does not help.
So I tried INSTALL_LOCATION = /cygdrive/c/epics/base-3.14.12
Now the microsoft compiler fails because it cannot read the cygdrive path and thus cannot find the header directories. Here the problem is that the PATH_FILTER only replaces / with \\ but not /cygcdrive/c with c:
We don't support the use of Cygwin tools to build Base on the win32-x86, win32-x86-mingw and windows-x64 targets; you need versions of Make and Perl that understand the windows paths for those targets. If you mix the two you just end up with the kinds of problems that you describe above, which neither Janet nor I have the time or inclination to try and fix right now.
When building for the Windows API (using either the MSVC++ or MinGW compilers) I use the MinGW version of GNUMake and a Perl from ActiveState, although there may be alternatives to them. When building for Cygwin I use the versions of Make and Perl that come with Cygwin. Note that R3.14.12 will support building shared libraries on Cygwin 1.7 (using gcc-3, not gcc-4), although that still doesn't work on Cygwin 1.5.
- Andrew