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: EPICS base on Windows with INSTALL_LOCATION on a different drive
From: Dirk Zimoch <[email protected]>
To: EPICS <[email protected]>
Date: Mon, 15 Nov 2010 11:00:07 +0100
Hi all,

I tried to install 3.14.12-pre2 on Windows on a different drive than the one where I extracted the source code.

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:

Unfortunately make seems not to have any function to replace /cygdrive/drivename/path with drivename:path for arbitrary drivenames.

Then I tried to replace
PATH_FILTER = $(subst /,\\,$(1))
with
PATH_FILTER = $(shell cygpath -w $(1))

This does not work because PATH_FILTER is used not on the file names but on the compiler options, e.g. in CONFIG_COMMON:
COMPILE.c = $(CC) -c $(CPPFLAGS) $(CFLAGS) $(call PATH_FILTER,$(INCLUDES))


Now cygpath gets arguments like "-I /filename" and does not know what option -I is.

It seems the problem exists in all 3.14 revisions.

Can someone please fix this problem before the final release of 3.14.12?


Best regards, Dirk

Replies:
Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Andrew Johnson

Navigate by Date:
Prev: hex format convert to a specified length Damek Yahto
Next: about the cPCI/EPICS system of APS/LBNL 王林
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: hex format convert to a specified length Damek Yahto
Next: Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Andrew Johnson
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, 15 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·