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

Subject: Re: EpicsHostArch.pl for Intel OS X machines?
From: Andrew Johnson <anj@aps.anl.gov>
To: Eric Norum <norume@aps.anl.gov>
Cc: "Ernest L. Williams Jr." <ernesto@ornl.gov>, EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Wed, 05 Apr 2006 09:58:33 -0500
Eric Norum wrote:

True, and EPICS already has the configure/os/xxxx files ('EPICS_HOST_ARCH=darwin-fat') for this. It does double the compile time and object module sizes, though. I'm not sure that machines are fast enough and disks big enough for this to no longer be a problem. I guess the easiest approach is to have the EpicsHostArch shell and perl scripts return darwin-fat. If you want faster builds and smaller files you would manually set EPICS_HOST_ARCH to darwin-ppc or darwin-x86 as appropriate.


Are you OS X users out there okay with this?

Personally I'd prefer that the script tell you exactly what machine it's running on, and if you want something more generic you override it manually. The perl code could use `uname -m` to find out what machine it's running on exactly like the shell version does.


Note that that the perl %Config hash is not derived from the binary actually running, it uses information from the installed library files which may have to be the same on both archs anyway, so Perl may *never* know what its own CPU architecture is that way (that's my guess anyhow).

- Andrew
--
There is no S in exprexxo.

References:
EpicsHostArch.pl for Intel OS X machines? Eric Norum
Re: EpicsHostArch.pl for Intel OS X machines? Ernest L. Williams Jr.
Re: EpicsHostArch.pl for Intel OS X machines? Eric Norum

Navigate by Date:
Prev: Re: AlarmHandler as a daemon or service Andrew Johnson
Next: RE: AlarmHandler as a daemon or service Liyu, Andrei
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: EpicsHostArch.pl for Intel OS X machines? Eric Norum
Next: EPICS Collaboration Meeting in June Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·