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  2011  2012  2013  2014  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine
From: Michael Davidsaver <[email protected]>
To: Andrew Johnson <[email protected]>, "Cusick, Martin-Lee" <[email protected]>, [email protected]
Date: Wed, 09 Dec 2015 15:16:06 -0500
On 12/09/2015 02:01 PM, Andrew Johnson wrote:
> 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 see what I did.  At some point I installed the whole i386 native
toolchain on my amd64 host by way of "dpkg --add-architecture i386".  I
wonder if I meant to do that...

> 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.

Ok, fair enough.  My memory of this not working must be obsolete.


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
Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson

Navigate by Date:
Prev: Re: Proposed change to asyn drvAsynIPPort for UDP sockets Henrique Almeida
Next: Re: Proposed change to asyn drvAsynIPPort for UDP sockets Torsten bögershaus
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  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 Andrew Johnson
Next: Re: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·