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  <20092010  2011  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: makeBaseApp
From: Zhichu Chen <[email protected]>
To: Janet Anderson <[email protected]>
Cc: [email protected]
Date: Tue, 10 Mar 2009 22:38:28 +0800
On Tue, Mar 10, 2009 at 10:12 PM, Janet Anderson <[email protected]> wrote:
> You can build at the DOS prompt, you do not need to use sh.  Are you using
> GNU make from mingw?
No, not really:
=========================================================
$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-msys
=========================================================
It's from MSYS, the mingw version of make may be able to handle the path but
it's too slow on my pc (I don't know why). So I think I should get the mingw
make a chance.
> The cygwin make cannot handle Windows paths  with a drive letter. Either one
> of the following
> should work in your RELEASE file:
>   EPICS_BASE=D:/EPICS/base
>   EPICS_BASE=D:\\EPICS\\base
I can modify the variable but I really hope there's some magic switch that I can
use to output the exact path I entered. Hence, I can make some alias like:
export EPICS_BASE=/epics/base/
alias makeBaseApp="perl
${EPICS_BASE}bin/${EPICS_HOST_ARCH}/makeBaseApp.pl -b ${EPICS_BASE}"

Thank you for your attention.
>
> Janet
>
> Zhichu Chen wrote:
>>
>> Hi, there's a silly question: how to disable the path conversion
>> in makeBaseApp?
>>
>> I'm using EPICS under MinGW+MSYS. The "sh" can recognize
>> the DOS path, but somehow it fails in "make".
>>
>> Yes, if I set a path using the DOS version, it just can't find
>> the executable files. I guess maybe the colon symbol is
>> used for some "special" case, so anything like C:\epics
>> will cause unexpected outcomes.
>>
>> Here's the thing, the makeBaseApp.pl will use UnixPath,
>> LocalPath, I don't know, to convert the path and write the
>> base's path to RELEASE, and I always get like
>> EPICS_BASE=D:\EPICS\base
>> even I use "-b \epics\base" option. One thing lead to another,
>> perl could not be found during the make.
>>
>> So, can I use some magic option to make it?
>>
>>
>
>



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------


References:
makeBaseApp Zhichu Chen
Re: makeBaseApp Janet Anderson

Navigate by Date:
Prev: Re: makeBaseApp Janet Anderson
Next: Looking for feedback on what epics users require Pawel Kowalski - BiRa Systems Inc.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: makeBaseApp Janet Anderson
Next: RE: Problem with cothread-1-12 on MacOSX (Leopard) Abbott, MG (Michael)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·