EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Sequencer news: latest snapshot
From: "J. Lewis Muir" <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Tue, 28 Jun 2011 12:48:29 -0500
On 6/28/11 12:01 PM, Andrew Johnson wrote:
> Oh, and one more reason: The regular darwin i386 class is LP64 anyway, meaning 
> longs and pointers are 64-bits wide even when ARCH_CLASS is i386.

Hi, Andrew.

I'm confused by this.  Are you sure?

On a MacBook Pro running a 32-bit kernel, your test program
prints 32.

On my Mac running a 64-bit kernel, it prints 64.  If I build it
as a fat binary by passing "-arch i386" and "-arch x86_64" as
options to gcc it prints 32 if I run the i386 machine code and
64 if I run the x86_64 machine code.  I did this with the arch
command:

$ lipo -info main
Architectures in the fat file: main are: i386 x86_64
$ arch -arch i386 ./main
32
$ arch -arch x86_64 ./main
64

Lewis

References:
Sequencer news: latest snapshot Benjamin Franksen
Re: Sequencer news: latest snapshot J. Lewis Muir
Re: Sequencer news: latest snapshot Benjamin Franksen
Re: Sequencer news: latest snapshot Andrew Johnson

Navigate by Date:
Prev: Re: Sequencer news: latest snapshot Andrew Johnson
Next: problem using asyn 4-15 with VxWorks and UDP sockets to connect with CryoCon24 temperature monitor Jay Steele
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Sequencer news: latest snapshot Andrew Johnson
Next: Re: Sequencer news: latest snapshot J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·