EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Building EPICS on Linux
From: [email protected] (William Lupton)
Date: Wed, 9 Jun 1999 15:35:25 -1000
Dear all,

Geoff Savage wrote:
> We use gcc as for cross compiles and for host compiles.  How do I keep
> the two separate with hacking the GCC command line?

This sounds reminiscent of wanting to build for two different target
architectures?

We need to build for M68K and PPC target architectures and achieve this
by overriding the Tornado directory (if necessary) and the compiler line
in the CONFIG_SITE.Vx.$(T_A) files. For example:

------------------------------------------------------------------------
#  $Id: CONFIG_SITE,v 1.4 1999/03/08 20:09:07 epics Exp $
.
(lots omitted)
.
VX_DIR_YES=/usr/local/vw/m5.3.1.base
------------------------------------------------------------------------

------------------------------------------------------------------------
# $Id: CONFIG_SITE.Vx.mv177,v 1.1 1998/10/21 21:31:37 epics Exp $

# This avoids having to define GCC_EXEC_PREFIX environment variable
GCC = GCC_EXEC_PREFIX=$(GNU_LIB)/gcc-lib/ $(GNU_BIN)/cc$(CMPLR_SUFFIX) -nostdinc
------------------------------------------------------------------------

------------------------------------------------------------------------
# $Id: CONFIG_SITE.Vx.mv2304,v 1.1 1999/03/08 20:09:55 epics Exp $

# For PPC Tornado, use appropriate VxWorks version
VX_DIR_YES=/usr/local/vw/m5.3.1.ppc
 
# This avoids having to define GCC_EXEC_PREFIX environment variable
GCC = GCC_EXEC_PREFIX=$(GNU_LIB)/gcc-lib/ $(GNU_BIN)/cc$(CMPLR_SUFFIX) -nostdinc
------------------------------------------------------------------------

William


Navigate by Date:
Prev: RE: Building EPICS on Linux Hammonds, John
Next: New epics list server Ron MacKenzie
Index: 1994  1995  1996  1997  1998  <19992000  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: Building EPICS on Linux Hammonds, John
Next: Re: Building EPICS on Linux Janet B. Anderson
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·