EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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  1999  2000  2001  <20022003  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 R3.14 problem for RTEMS
From: Till Straumann <[email protected]>
To: "M.C.Shao" <[email protected]>
Cc: Tech-talk <[email protected]>
Date: Mon, 18 Nov 2002 12:19:55 -0800
M.C.Shao wrote:
----- Original Message ----- From: "Till Straumann" <[email protected]>
To: "M.C.Shao" <[email protected]>
Cc: "Andrew Johnson" <[email protected]>; "Tech-talk" <[email protected]>
Sent: Monday, November 18, 2002 6:29 PM
Subject: Re: building R3.14 problem for RTEMS




This is configured in epics/base/configure/os/CONFIG.Common.RTEMS
where RTEMS_BASE is set.

-- Till


I don't think so , I have cheked that configure file, and RTEMS_BASE is set to be "/opt/rtems" where the rtems is installed on my computer.The problem still exists.

Could be that you're fighting just one more head of the 'autotool' hydra:


CONFIG.Common.RTEMS expands the makefile variable CC_FOR_TARGET.

CC_FOR_TARGET is set in your RTEMS BSP's Makefile.inc (look in the RTEMS installation tree, _not_ EPICS).

Makefile.inc is created when you build RTEMS. 'c/src/make/configure'
is responsible for the relevant expansion:

Makefile.inc will end up defining

CC_FOR_TARGET = <whatever the CC environment variable was set to when you configured RTEMS>

I.e.:

you probably configured RTEMS in the following way:

configure CC=/opt/rtems..../

Instead, you should add the proper directory to your PATH and

configure CC=i386-rtems-gcc

(Note that it is _very_ advisable to use 'target'-gcc rather than
the 'gcc' alias in some 'target' subdir!!!)

You can chop that head off by simply editing 'Makefile.inc'
(correct the CC_FOR_TARGET & friends definitions) but remember
that the hydra will grow a new head next time you 'make' RTEMS
- unless you reconfigure.

HTH

-- Till


References:
Extensions problem Krishna Arya
Re: Extensions problem Andrew Johnson
base building problem M.C.Shao
Re: base building problem Andrew Johnson
building R3.14 problem for RTEMS M.C.Shao
Re: building R3.14 problem for RTEMS Till Straumann
Re: building R3.14 problem for RTEMS M.C.Shao

Navigate by Date:
Prev: Re: alarms and autodialers Maren Purves
Next: RE: Channel Watcher V2.0 Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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 R3.14 problem for RTEMS M.C.Shao
Next: Extensions problem Krishna Arya
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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 ·