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: Andrew Johnson <[email protected]>
To: [email protected]
Date: Mon, 15 Nov 2010 11:54:48 -0500
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
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell


Replies:
Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
References:
EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch

Navigate by Date:
Prev: Re: Last chance to save the sequencer's pv layer Andrew Johnson
Next: asyn driver on Windows XP Dirk Zimoch
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: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
Next: Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
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 ·