Using the current Cygwin make does not work, they dropped support for Windows type paths. It actually works OK to build base on win32-x86, because base does not need configure/RELEASE files to build. But when you try to build synApps, or perhaps when you try to install into another directory it won't work.
I use the current version of Cygwin, but I replace the "make.exe" program with one from an older version of Cygwin. That works, although it's probably not the best solution.
Mark
________________________________
From: [email protected] on behalf of Dirk Zimoch
Sent: Tue 11/16/2010 4:16 AM
To: [email protected]
Subject: Re: EPICS base on Windows with INSTALL_LOCATION on a different drive
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
- 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
- Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
- Navigate by Date:
- Prev:
Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
- Next:
RE: asyn driver on Windows XP Mark Rivers
- 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
- Navigate by Thread:
- Prev:
Re: EPICS base on Windows with INSTALL_LOCATION on a different drive Dirk Zimoch
- 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
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|