EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: EDM wants to build on vxWorks-68040 target. Why?
From: "Singleton, SJ \(Steve\)" <[email protected]>
To: "Mark Wagner" <[email protected]>, <[email protected]>
Date: Wed, 23 Nov 2005 09:30:36 -0000
Hello Mark et al,

This problem seems to have come about as a result of a change to the EDM
build round about version 1.10.1ze; prior to that it used 3.13 style
make files and built only on the client platform.

If you have a shared EPICS base that is used by a number of developers
to build things for vxWorks IOCs as well as client applications,
changing BUILD_ARCHS in base/configure/CONFIG_COMMON is not a practical
solution, as the change affects everyone.   I came up with a solution
that doesn't affect programs other than EDM (though it involves rather
more effort).  In the MAKEFILEs in all of the subdirectories of
extensions/src/edm, replace any

PROD=

definitions with equivalent

PROD_HOST=

Definitions, and any 

LIBRARY=

definitions with equivalent

LIBRARY_HOST=

Definitions.  Then edm is built for host architectures only.

Regards
Steve Singleton


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mark Wagner
Sent: 23 November 2005 01:58
To: [email protected]
Subject: Re: EDM wants to build on vxWorks-68040 target. Why?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Oct 27, 2005 at 11:16:45AM -1000, Maren Purves wrote:

> looks like you have a Makefile.Vx in your soruce directory.
> If so, either delete it or rename it to something else.

There was no Makefile.Vx in my source directory.

I followed the maze of Makefile includes to the culprit. In

${MY_EPICS_BASE}/configure/CONFIG_COMMON

there is

BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)

Changing that to

BUILD_ARCHS = $(EPICS_HOST_ARCH)

fixed the problem. (I then changed it back after compiling edm.)

I'm an EPICS newbie so I'm looking for a bit of enlightenment with these
questions:

Why would edm, or any other extension, use BUILD_ARCHS, when they will
run on the EPICS_HOST_ARCH only?

How can I tell edm, without touching stuff in ${MY_EPICS_BASE}, that it
shouldn't build for the target(s), only the host? I tried mucking with
stuff in ${EPICS_EXTENSIONS}/configure and ${EPICS_EXTENSIONS}/src/edm
to no avail.

Is there an extension that is a shining example of the proper use of
the EPICS 3.14 build system?

> Mark Wagner wrote:

> >I'm trying to build EDM on a linux-x86 host, which seems to go OK.
> >However, it seems as though it is trying to be built for the
vxWorks-68040
> >target too, which causes all sorts of problems. How can I make it not
> >do that?
> >
> >epics 3.14.7
> >edm 1-10-1zf

> >extensionsConfigure_20040406
> >extensionsConfig_20040406

- -- 
Mark Wagner [email protected] 206-598-0302
Unix System Administrator, Radiation Oncology
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDg8y0vOs2g/c480IRAlJDAJ9fcylurjZuLp9ofGeDsGO4BL/wtQCdE5CX
ueo46SB9CVWzWItMF2fjsU0=
=g2ZX
-----END PGP SIGNATURE-----


Navigate by Date:
Prev: Re: EDM wants to build on vxWorks-68040 target. Why? Mark Wagner
Next: RE: EPICS base compiling using Visual C++ 2005 Express guobao shen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EDM wants to build on vxWorks-68040 target. Why? Ernest L. Williams Jr.
Next: jprobe does not work with jca 2.x Mark Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·