EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== 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
With GNU make for windows http://gnuwin32.sourceforge.net/packages/make.htm it works using paths like C:/epics/base-3.14.12. It's only cygwin make that is not usable.

Dirk

Andrew Johnson wrote:
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


Replies:
RE: EPICS base on Windows with INSTALL_LOCATION on a different drive Mark Rivers
References:
EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Andrew Johnson

Navigate by Date:
Prev: Re: asyn driver on Windows XP Dirk Zimoch
Next: RE: EPICS base on Windows with INSTALL_LOCATION on a different drive Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Andrew Johnson
Next: RE: EPICS base on Windows with INSTALL_LOCATION on a different drive Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·