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 | 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 |
<== 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? |