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: EpicsHostArch.pl for Intel OS X machines?
From: Eric Norum <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Tue, 4 Apr 2006 20:27:15 -0500
I'm trying to add Intel OS X support to EPICS.  The EpicsHostArch shell script changes are easy:
Index: EpicsHostArch
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/startup/EpicsHostArch,v
retrieving revision 1.6.4.2
diff -u -r1.6.4.2 EpicsHostArch
--- EpicsHostArch       1 Nov 2005 17:26:50 -0000       1.6.4.2
+++ EpicsHostArch       5 Apr 2006 01:24:01 -0000
@@ -39,6 +39,7 @@
        cpu=`uname -m`
         case "$cpu" in
             "Power Macintosh") cpu=ppc ;;
+            "i386") cpu=x86 ;;
         esac
        echo ${os}-${cpu}${suffix}
         ;;


I've hit a roadblock with EpicsHostArch.pl, though.  The script uses $Config{'archname'} to get the host information, but on both Power PC and Intel OS X machines this gives: darwin-thread-multi-2level
Any perl experts out there that can suggest a way to determine the CPU architecture?

-- 

Eric Norum <[email protected]>

Advanced Photon Source                     

Argonne National Laboratory

(630) 252-4793





Replies:
Re: EpicsHostArch.pl for Intel OS X machines? Ernest L. Williams Jr.

Navigate by Date:
Prev: Re: snc/seq enhancements ... local-variable access Benjamin Franksen
Next: Re: EpicsHostArch.pl for Intel OS X machines? Ernest L. Williams Jr.
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: ld error: Module contains undefined symbol(s) and may be unusable. Dirk Zimoch
Next: Re: EpicsHostArch.pl for Intel OS X machines? Ernest L. Williams Jr.
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 ·