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  <20122013  2014  2015  2016  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: First Use Of 3.14.12.2 - target builds try to produce code for host also
From: Duane Voy <[email protected]>
To: "[email protected]" <[email protected]>
Cc: Duane Voy <[email protected]>
Date: Fri, 5 Oct 2012 20:49:54 +0000
I have built 3.14.12.2 on linux-x86 host for cross development to vxWorks-ppc604_long targets.
When I do 'gmake vxWorks-ppc604_long' the make system tries to produce code for linux-x86 as well, which is doomed to failure with code referencing VxWorks headers.
This behavior is different from any that I have seen in versions <= 3.14.10.

I have been reading documentation and googling and greping, and have tried everything I can think of to make CROSS_COMPILER_TARGET_ARCHS be -just- vxWorks-ppc604_long.  All with no luck.

I know this can't be a bug -- it must be something that I have done wrong.  Am I missing some (possibly new) configuration parameter when building Base -- or my target?

Below is a log of my actions in building EPICS Base - for reference.

This is my first request for help from tech-talk.

Thanks,
--> Duane C. Voy


install EPICS base distribution as root
  mkdir /usr/local/epics
  cd /usr/local/epics
      :
  gunzip baseR3.14.12.2.tar.gz
  tar -xvf baseR3.14.12.2.tar
  mv base-3.14.12.2 base-3.14.12.2.vx61
  cd base-3.14.12.2.vx61
  export EPICS_HOST_ARCH=`startup/EpicsHostArch.pl`

edit: configure/CONFIG_SITE
  add CROSS_COMPILER_TARGET_ARCHS=vxWorks-ppc604_long
  comment out CROSS_COMPILER_HOST_ARCHS=
  change #COMPAT_TOOLS_313=YES to COMPAT_TOOLS_313=NO
no edit: configure/CONFIG_SITE_ENV
no edit: configure/RELEASE
no file: configure/os/CONFIG.linux-x86.linux-x86
no edit: configure/os/CONFIG.linux-x86.Common
no edit: configure/os/CONFIG.Common.vxWorks-ppc604_long
no file: configure/os/CONFIG.linux-x86.vxWorks-ppc604_long
no file: configure/os/CONFIG_SITE.linux-x86.vxWorks-ppc604_long

edit: configure/os/CONFIG_SITE.linux-x86.Common
  add CROSS_COMPILER_TARGET_ARCHS=vxWorks-ppc604_long

edit: configure/os/CONFIG_SITE.Common.vxWorksCommon
  comment #VXWORKS_VERSION = 5.5
  uncomment VXWORKS_VERSION = 6.1
  comment #WIND_BASE = /usr/local/vw/tornado22-$(ARCH_CLASS)
  add WIND_BASE = /fnal/ups/prd/vxworks/v6_1f2/Linux-2-mv5500
  uncomment WORKBENCH_VERSION = 2.3

build EPICS
  gmake clean uninstall
  gmake



Replies:
Re: First Use Of 3.14.12.2 - target builds try to produce code for host also Ralph Lange

Navigate by Date:
Prev: RE: Triggered autosave on exit Hu, Yong
Next: Re: Triggered autosave on exit Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS 3.15.0 incompatible make rules Dirk Zimoch
Next: Re: First Use Of 3.14.12.2 - target builds try to produce code for host also Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·