Experimental Physics and Industrial Control System
On 12/09/2015 12:23 PM, Michael Davidsaver wrote:
> FYI, to compile 32-bit code on a 64-bit target it's probably better not
> to run "gcc", but rather the full prefixed versions like
> "i586-linux-gnu-gcc" or "x86_64-linux-gnu-gcc". The EPICS makefiles
> don't come pre-configured to do this.
In my experience most 64-bit Linux distribution's builds of gcc support
the -m32 flag directly, and they don't actually provide a separate
32-bit cross-compiler anyway.
I just typed 'make CROSS_COMPILER_TARGET_ARCHS=linux-x86' on my 64-bit
system (with EPICS_HOST_ARCH=linux-x86_64) and Base compiled a full set
of 32-bit libraries and binaries for me with no changes necessary.
- Andrew
--
Light thinks it travels faster than anything but it is wrong.
No matter how fast light travels, it finds the darkness has
always got there first, and is waiting for it.
-- Terry Pratchett, Reaper Man
- Replies:
- Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Michael Davidsaver
- References:
- EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
- Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Michael Davidsaver
- Navigate by Date:
- Prev:
Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson
- Next:
Re: Proposed change to asyn drvAsynIPPort for UDP sockets Henrique Almeida
- 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: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Mark Rivers
- Next:
Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Michael Davidsaver
- 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