Experimental Physics and
| |||||||||||||||
|
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?
| ||||||||||||||
ANJ, 15 Nov 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |