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  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: PROC vs PROC_HOST
From: "Doucet, Richard" <doucetr@aecl.ca>
To: <tech-talk@aps.anl.gov>
Date: Wed, 8 Oct 2014 06:46:49 -0400

UNRESTRICTED | ILLIMITÉ

 

Ran into a problem when trying to cross-compile an EPICS application for the ARM architecture under a Linux x86_64 host.  My build created both the x86 and x86_64 binary, but would not create the ARM.  I eventually change the application makefile:

 

PROC_HOST = myApplication

 

to

 

PROC = myApplication

 

This caused ARM version to compile, but it failed due to missing libraries in the base, specifically asHost and dbStaticHost.  Looking at the makefile for those library, I noticed that it had

 

LIBRARY_HOST = dbStaticHost

 

and

 

LIBRARY_HOST = asHost

 

These are the only two libraries from the EPICS base I found that define the target using the LIBRARY_HOST (macro?) instead of LIBRARY.

 

I changed both of these to LIBRARY, recompiled the EPICS based, then successfully recompiled the ARM version of my application.

 

Is there a reason why these two libraries are defined as LIBRARY_HOST instead of just LIBRARY?

 


Replies:
Re: PROC vs PROC_HOST Andrew Johnson

Navigate by Date:
Prev: Job Opening at Helmholtz-Zentrum Berlin (HZB) Joachim Rahn
Next: Re: stumbled at the first softioc example Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Job Opening at Helmholtz-Zentrum Berlin (HZB) Joachim Rahn
Next: Re: PROC vs PROC_HOST Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·