cross compiler for vxworks 5.3.1
Anderson, Hollis
HAnderson@unispherenetworks.com
Wed Oct 17 10:53:00 GMT 2001
Hi,
I currently have cygwin environment. I would like to create a
powerpc cross compiler using gcc 2.95.3 to compile code
and BSP in a Tornado 1.0.1 (vxworks 5.3.1) installed based.
I see that the Tornado 1.0.1 uses a version of gcc 2.72 from
a cygnus installation (I think ?).
In my search of the web, I found the following link
www.newgcc4vxworks4ppc.cjb.net that gives excellent
information for configuring/building binutils and gcc-2.95.
I have configured and built the cross binutils. I have run
configure for creating the Makefile... etc for the cross compiler.
But, when I build I get the following error.
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -DHAVE_SYS_ERRLIST -I.
-I/gcc-src/libiberty/../i
nclude /gcc-src/libiberty/vasprintf.c -o pic/vasprintf.o
gcc -c -DHAVE_CONFIG_H -g -O2 -DHAVE_SYS_ERRLIST -I.
-I/gcc-src/libiberty/../inc
lude /gcc-src/libiberty/vasprintf.c
rm -f libiberty.a
ar rc libiberty.a \
argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o
getopt1
.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o
spl
ay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o
xstrerror
.o random.o asprintf.o basename.o insque.o mkstemps.o sigsetmask.o
vasprintf.o
ranlib libiberty.a
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr
strerro
r strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp
bcopy
bzero; do \
for g in random.o asprintf.o basename.o insque.o mkstemps.o sigsetmask.o
vaspr
intf.o ; do \
case "$g" in \
*$f*) echo $g >> needed-list ;; \
esac; \
done; \
done
echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o
geto
pt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o
spaces.o
splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o
xstrer
ror.o > required-list
make[2]: Entering directory
`/cygdrive/d/work/new-gcc/build-gcc/libiberty/testsu
ite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/cygdrive/d/work/new-gcc/build-gcc/libiberty/testsui
te'
make[1]: Leaving directory `/cygdrive/d/work/new-gcc/build-gcc/libiberty'
make[1]: Entering directory `/cygdrive/d/work/new-gcc/build-gcc/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/d/work/new-gcc/build-gcc/etc'
make[1]: Entering directory `/cygdrive/d/work/new-gcc/build-gcc/gcc'
cd /gcc-src/gcc && autoheader
echo timestamp > /gcc-src/gcc/cstamp-h.in
cd /gcc-src/gcc; bison -d -o c-parse.c c-parse.y
(cd intl && make all)
make[2]: Entering directory `/cygdrive/d/work/new-gcc/build-gcc/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/d/work/new-gcc/build-gcc/gcc/intl'
make[1]: *** No rule to make target `c,c++', needed by `native'. Stop.
make[1]: Leaving directory `/cygdrive/d/work/new-gcc/build-gcc/gcc'
make: *** [all-gcc] Error 2
The command line for configure was:
/gcc-src/configure --target=powerpc-wrs-vxworks --with-included-gettext
--with-g
nu-as --with-gnu-ld --with=headers=`cygpath -aup ${WIND_BASE}`/target/h
--with-i
ncluded-gettext --enable-languages=c,c++ 2>&1 | tee conf.log
The command line for building was
make LANGUAGES="c,c++" all 2>&1 | tee build.log
Other information in cygwin installed base:
cygwin version 1.3.3-2
gcc2.95.3-5
Thanks,
Hollis
handerson@unispherenetworks.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list