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: "Ernest L. Williams Jr." <ernesto@ornl.gov>
To: Eric Norum <norume@aps.anl.gov>
Cc: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Tue, 04 Apr 2006 22:15:43 -0400
On Tue, 2006-04-04 at 20:27 -0500, Eric Norum wrote:
> 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?

Don't you want to leave it as "thread-multi-2level"?  

Apple uses a new ABI which means the same binary runs on PPC and INTEL,
hmmm?
I would use whatever GCC uses to make the "CROSS".


Thanks,
Ernest



> 
> -- 
> 
> Eric Norum <norume@aps.anl.gov>
> 
> Advanced Photon Source                     
> 
> Argonne National Laboratory
> 
> (630) 252-4793
> 
> 
> 
> 
> 


Replies:
Re: EpicsHostArch.pl for Intel OS X machines? Eric Norum
References:
EpicsHostArch.pl for Intel OS X machines? Eric Norum

Navigate by Date:
Prev: EpicsHostArch.pl for Intel OS X machines? Eric Norum
Next: Re: EpicsHostArch.pl for Intel OS X machines? Eric Norum
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: EpicsHostArch.pl for Intel OS X machines? Eric Norum
Next: Re: EpicsHostArch.pl for Intel OS X machines? Eric Norum
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 ·