EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Sat. CVS snap built against vxWorks 6.3
From: "Ernest L. Williams Jr." <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: EPICS Core Talk <[email protected]>
Date: Mon, 11 Dec 2006 16:03:52 -0500
On Mon, 2006-12-11 at 13:44 -0600, Andrew Johnson wrote:
> Ernest L. Williams Jr. wrote:
> > 
> > The same happens when I try to build for vxWorks 5.5.1.
> 
> Here's the patch I'm applying:
> 
> Index: CONFIG.Common.vxWorksCommon
> ===================================================================
> diff -u -b -r1.35.2.13 CONFIG.Common.vxWorksCommon
> --- CONFIG.Common.vxWorksCommon 9 Dec 2006 00:01:50 -0000       1.35.2.13
> +++ CONFIG.Common.vxWorksCommon 11 Dec 2006 19:41:55 -0000
> @@ -90,10 +90,10 @@
> 
>   #--------------------------------------------------
>   # Fix WIND_BASE for vxWorks 6.x on linux
> -ifeq ($(VXWORKS_MAJOR_VERSION),6)
> -  ifeq ($(WIND_HOST_TYPE),x86-linux)
> -    WIND_HOST_TYPE = x86-linux2
> -  endif
> +ifeq ($(WIND_HOST_TYPE),x86-linux)
> +  WIND_HOST_TYPE_5 = $(WIND_HOST_TYPE)
> +  WIND_HOST_TYPE_6 = x86-linux2
> +  WIND_HOST_TYPE = $(WIND_HOST_TYPE_$(VXWORKS_MAJOR_VERSION))
>   endif
> 
>   #--------------------------------------------------
> @@ -114,9 +114,9 @@
>   GNU_DIR = $(GNU_DIR_$(VXWORKS_MAJOR_VERSION))
> 
>   # vxWorks 6 moved the subprocess executable programs.
> -ifeq ($(VXWORKS_MAJOR_VERSION),6)
> -  export GCC_EXEC_PREFIX = $(GNU_DIR)/libexec/gcc/
> -endif
> +GCC_EXEC_PREFIX_5 = $(GNU_LIB)/gcc-lib/
> +GCC_EXEC_PREFIX_6 = $(GNU_DIR)/libexec/gcc/
> +export GCC_EXEC_PREFIX = $(GCC_EXEC_PREFIX_$(VXWORKS_MAJOR_VERSION))
> 
>   #--------------------------------------------------
>   # C++ host processing

The cross compiler is found with the new patch.

We now have a problem with GCC_EXEC_PREFIX

make[3]: Entering directory
`/home/williams/sandbox/EPICS_TEST/base/src/libCom/O.vxWorks-
ppc603_long'
/ade/vxWorks/6.3/gnu/3.4.4-vxworks-6.3/x86-linux2/bin/ccppc -c
-DCPU=PPC603    -DvxWorks   -ansi  -O2  -Wall     -mcpu=603 -mstrict-
align -mlongcall    -fno-builtin  -I. -I.. -
I../../../src/libCom/bucketLib -I../../../src/libCom/ring -
I../../../src/libCom/calc -I../../../src/libCom/cvtFast -
I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -
I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -
I../../../src/libCom/env -I../../../src/libCom/error -
I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -
I../../../src/libCom/gpHash -I../../../src/libCom/logClient -
I../../../src/libCom/macLib -I../../../src/libCom/misc -
I../../../src/libCom/osi -I../../../src/libCom/taskwd -
I../../../src/libCom/timer -I../../../src/libCom/tsDefs -
I../../../include/os/vxWorks -I../../../include       -
I/ade/vxWorks/6.3/vxworks-6.3/target/h -
I/ade/vxWorks/6.3/vxworks-6.3/target/h/wrn/coreip  ../../../src/libCom/bucketLib/bucketLib.c
<unknown> tried to exec get_feature but failed (No such file or
directory)
<unknown> tried to exec cc1 but failed (No such file or directory)
make[3]: *** [bucketLib.o] Error 1
make[3]: Leaving directory
`/home/williams/sandbox/EPICS_TEST/base/src/libCom/O.vxWorks-
ppc603_long'
make[2]: *** [install.vxWorks-ppc603_long] Error 2
make[2]: Leaving directory
`/home/williams/sandbox/EPICS_TEST/base/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/home/williams/sandbox/EPICS_TEST/base/src'
make: *** [src.install] Error 2



-- Ernest

> 
> 
> - Andrew


References:
Sat. CVS snap built against vxWorks 6.3 Ernest L. Williams Jr.
Re: Sat. CVS snap built against vxWorks 6.3 Andrew Johnson
Re: Sat. CVS snap built against vxWorks 6.3 Ernest L. Williams Jr.
Re: Sat. CVS snap built against vxWorks 6.3 Andrew Johnson

Navigate by Date:
Prev: Re: Sat. CVS snap built against vxWorks 6.3 Andrew Johnson
Next: R3.14.9-pre2 Released Andrew Johnson
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Sat. CVS snap built against vxWorks 6.3 Andrew Johnson
Next: R3.14.9-pre2 Released Andrew Johnson
Index: 2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·