Experimental Physics and Industrial Control System
To build EPICS for 64-bit only, edit configure/os/CONFIG_SITE.Common.darwin-x86 and set
ARCH_CLASS = x86_64
To build for both 32 and 64 bit (You'll have to first make sure that your readline and Motif libraries are universal 32/64 or this won't work....):
ARCH_CLASS = i386 x86_64
On Dec 21, 2009, at 11:43 AM, Bertrand H.J. Biritz wrote:
> Hi Eric,
>
> I will try again once my dad no longer is using the machine :)
>
> How do I force the EPICS 64-bit compilation?
>
> Thanks,
> Bertrand
>
> On Dec 21, 2009, at 1:47 PM, Eric Norum wrote:
>
>> Looks like you have a few options.
>>
>> 1) Rebuild EPICS as 64-bit.
>> 2) Rebuild the X11/Motif stuff as 32-bit.
>> 3) Rebuild EPICS and X11/Motif as universal 32/64-bit.
>>
>> I don't think that there's any problem with a 32-bit kernel running 64-bit applications.
>>
>> Maybe EpicsHostArch.pl needs to be modified to emit x86_64 on appropriate architectures?
>>
>> On Dec 21, 2009, at 10:37 AM, Bertrand H.J. Biritz wrote:
>>
>>> Hi Eric,
>>>
>>> I didn't change whatever the default compilation is – just downloaded the various EPICS components and made the usual changes: setting the environmental variable EPICS_HOST_ARCH (darwin-x86 according to EpicsHostArch.pl) and for the extensions defining to use MacPort instead of Fink.
>>>
>>> One thing to note is the kernel isn't running in 64-bit mode.
>>>
>>> Bertrand
>>>
>>> On Dec 21, 2009, at 1:12 PM, Eric Norum wrote:
>>>
>>>> Are all your EPICS compiles specifying the 64-bit architecture as well?
>>>>
>>>> On Dec 21, 2009, at 9:56 AM, Bertrand H.J. Biritz wrote:
>>>>
>>>>> Hi Eric,
>>>>>
>>>>> Here is the output:
>>>>>
>>>>> file /opt/local/lib/libX*
>>>>> /opt/local/lib/libX11.6.3.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libX11.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libX11.a: current ar archive random library
>>>>> /opt/local/lib/libX11.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libX11.la: libtool library file
>>>>> /opt/local/lib/libXau.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXau.a: current ar archive random library
>>>>> /opt/local/lib/libXau.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXau.la: libtool library file
>>>>> /opt/local/lib/libXdmcp.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXdmcp.a: current ar archive random library
>>>>> /opt/local/lib/libXdmcp.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXdmcp.la: libtool library file
>>>>> /opt/local/lib/libXext.6.4.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXext.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXext.a: current ar archive random library
>>>>> /opt/local/lib/libXext.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXext.la: libtool library file
>>>>> /opt/local/lib/libXft.2.1.13.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXft.2.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXft.a: current ar archive random library
>>>>> /opt/local/lib/libXft.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXft.la: libtool library file
>>>>> /opt/local/lib/libXm.4.0.2.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXm.4.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXm.a: current ar archive random library
>>>>> /opt/local/lib/libXm.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXm.la: libtool library file
>>>>> /opt/local/lib/libXmu.6.2.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmu.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmu.a: current ar archive random library
>>>>> /opt/local/lib/libXmu.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmu.la: libtool library file
>>>>> /opt/local/lib/libXmuu.1.0.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmuu.1.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmuu.a: current ar archive random library
>>>>> /opt/local/lib/libXmuu.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXmuu.la: libtool library file
>>>>> /opt/local/lib/libXp.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXp.a: current ar archive random library
>>>>> /opt/local/lib/libXp.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXp.la: libtool library file
>>>>> /opt/local/lib/libXrender.1.3.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXrender.1.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXrender.a: current ar archive random library
>>>>> /opt/local/lib/libXrender.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXrender.la: libtool library file
>>>>> /opt/local/lib/libXt.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXt.a: current ar archive random library
>>>>> /opt/local/lib/libXt.dylib: Mach-O 64-bit dynamically linked shared library x86_64
>>>>> /opt/local/lib/libXt.la: libtool library file
>>>>>
>>>>> Thanks,
>>>>> Bertrand
>>>>>
>>>>> Quoting Eric Norum <[email protected]>:
>>>>>
>>>>>> Run
>>>>>> file /opt/local/lib/libX*
>>>>>> to tell you about the architectures supported by your MacPorts Motif installation.
>>>>>>
>>>>>> --
>>>>>> Eric Norum
>>>>>> [email protected]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Eric Norum
>>>> [email protected]
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>> Eric Norum
>> [email protected]
>>
>>
>>
>>
>
--
Eric Norum
[email protected]
- Replies:
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Andrew Johnson
- References:
- Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Eric Norum
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Eric Norum
- Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Navigate by Date:
- Prev:
Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Next:
Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Andrew Johnson
- 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
- Navigate by Thread:
- Prev:
Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Bertrand H.J. Biritz
- Next:
Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Andrew Johnson
- 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