g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  Index 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: How to build EPICS3.13.1 for PPC?
From: shen guobao <shengb@ssrc.ac.cn>
To: tech-talk@aps.anl.gov
Date: Tue, 01 Aug 2000 16:46:03 +0800
Hello,
I use EPICS3.13.1, vxWorks5.3.1(PPC2303). My host is Sun/Solaris2.7,
target is MV2302 board(PPC603).
Now I want to build base for PPC, I have modified some files.
In CONFIG_SITE_ENV:
I set 'CROSS_COMPILER_TARGET_ARCHS=mv2303'
And I create the CONFIG.Vx.mv2303:
'
# $Id: CONFIG.Vx.mv2303,v 1.1 1998/06/04 19:15:13 wlupton Exp $
#
# This file is maintained by the EPICS community.
# Vx GNU cross compiler suffix
CMPLR_SUFFIX = ppc
 
# For Vx directories of form:
#   $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin
ARCH_CLASS = ppc

# Architecture specific build flags (TRUE=1 via LBL; needed in
camessage.c)
ARCH_DEP_CFLAGS = -fno-for-scope -DCPU_FAMILY=PPC -DCPU=PPC603
-D_GNU_TOOL -DTRUE=1
'
But when I use gnumake in the epics/base/ , it gives the following
errors:
"
/ssrf/project/master/wind/T1.0.1/host/sun4-solaris2/bin/ccppc
-B/ssrf/project/master/wind/T1.0.1/host/sun4-solaris2/lib/gcc-lib/
-nostdinc -ansi 
 -pedantic -O2 -fstrength-reduce  -Wall   -fno-for-scope
-DCPU_FAMILY=PPC -DCPU=PPC603 
 -D_GNU_TOOL -DTRUE=1  -DvxWorks -DV5_vxWorks -fno-builtin  -I. -I..  
-I../../../include -I../../../include/os/vxWorks
-I/ssrf/project/master/wind/T1.0.1/target/h   -c  ../iocinf.c
In file included from ../iocinf.h:212,
                 from ../iocinf.c:151:
../caProto.h:241: syntax error before `.'
../iocinf.c:146: warning: `sccsId' defined but not used
../os_depen.h:36: warning: `os_depenhSccsId' defined but not used
gmake[3]: *** [iocinf.o] Error 1
gmake[3]: Leaving directory
`/ssrf/project/master/epics/R3.13.1/base/src/ca/O.mv2303'
gmake[2]: *** [buildInstall.mv2303] Error 2
gmake[2]: Leaving directory
`/ssrf/project/master/epics/R3.13.1/base/src/ca'
gmake[1]: *** [ca.buildInstall] Error 2
gmake[1]: Leaving directory
`/ssrf/project/master/epics/R3.13.1/base/src'
gmake: *** [src.buildInstall] Error 2
"

How can I do?

Best Regards,
guobao shen


Replies:
RE: How to build EPICS3.13.1 for PPC? Jeff Hill

Navigate by Date:
Prev: RE: delphi interface to EPICS? Jeff Hill
Next: RE: How to build EPICS3.13.1 for PPC? Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
Navigate by Thread:
Prev: RE: delphi interface to EPICS? Jeff Hill
Next: RE: How to build EPICS3.13.1 for PPC? Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·