EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  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  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with e_flex in base
From: "Mark Rivers" <[email protected]>
To: "Andrew Johnson" <[email protected]>
Cc: <[email protected]>
Date: Tue, 28 Feb 2006 12:35:06 -0600
Andrew,

I believe I used WinZip to extract the archive, rather than tar.

I don't think I like your proposed solution for the following reasons:

- EPICS is supposed to build for multiple architectures from the same
source tree.  If I use WinZip to extract EPICS base it builds fine for
WIN32.  However, if I later decide I also want to build for Cygwin, I
can't use that same source tree.

- Even if I untar the source file with Cygwin tar, if I then use a
Windows text editor, such as Wordpad, to edit any .l file (in base or in
any application), e_flex fails.

- Most, if not all, other EPICS code that reads ASCII files (.adl files,
.db files, .dbd files, etc.) are now tolerant of either type of line
terminator.  e_flex seems to be the exception.

Mark


> -----Original Message-----
> From: Andrew Johnson [mailto:[email protected]] 
> Sent: Tuesday, February 28, 2006 11:25 AM
> To: Mark Rivers
> Cc: [email protected]
> Subject: Re: Problem with e_flex in base
> 
> Hi Mark,
> 
> Mark Rivers wrote:
> > 
> > I have found a problem with e_flex in base (3.14.8.2).  It does not
> > handle .l files that have DOS terminators, which is what happens if
> > one un-tars EPICS base on a Cygwin system and tries to build it.
> 
> What program did you use to extract everything out of the tar file?
> 
> If you're going to build EPICS using Cygwin, you should use 
> the Cygwin 
> version of tar to do that extraction, which will only convert 
> the Unix 
> line endings into DOS ones if your Cygwin installation is 
> configured to 
> use DOS line endings.  In that configuration, the Cygwin C runtime 
> library automatically does the right thing with line endings 
> and e_flex 
> should work properly without any changes.
> 
> > Would it be possible to fix e_flex so this does not happen?
> 
> I have developed a fix, but I'm reluctant to commit it since 
> I believe 
> the problem was really due to operator error.
> 
> Is this reasonable?
> 
> - Andrew
> -- 
> There is no S in exprexxo.
> 


Replies:
Re: Problem with e_flex in base Andrew Johnson

Navigate by Date:
Prev: Re: Problem with e_flex in base Andrew Johnson
Next: Re: Problem with e_flex in base Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem with e_flex in base Andrew Johnson
Next: Re: Problem with e_flex in base Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·