This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: building cross compiler for nec vr4300
- To: ecos-discuss at sources dot redhat dot com
- Subject: RE: [ECOS] building cross compiler for nec vr4300
- From: Warren Jasper <Warren dot Jasper at bops dot com>
- Date: Thu, 4 Oct 2001 16:45:03 -0400
I now know what the problem is. In the Makefile, it is deleting *.o and
*.s.
However, because Windows is case insensitive, the file mips16.S is getting
deleted
also. Not quite sure how to lock it. I tried opening it in vi and hoping
that
an open file would not be deleted, but no such luck. Open to working
suggestions.
Right now, every time it gets deleted, I just restore an archived version
and keep going.
Not very pretty, but it lets me move along.
Warren
-----Original Message-----
From: Warren Jasper [mailto:wjasper@tx.ncsu.edu]
Sent: Wednesday, October 03, 2001 5:30 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] building cross compiler for nec vr4300
Has anybody successfully built xgcc for nec vr4300 under windows? Here
is my
configuration:
Windows NT
Cygwin version 1.3.2
gcc - egcs-core-20000313.tar.gz
egcs-g++-20000313.tar.gz
binutils 2.10 and gdb 5.0 compiled out of the box correctly. The
problem is that I can't make mips64vr4300-elf-gcc under Windows,
although I have no problem under Linux 7.1.
Here is the error I am getting:
make GCC_FOR_TARGET="/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/mips64vr4300-elf/bin/
-I/tools/H-i686-pc-cygwin/mips64vr4300-elf/include" \
AR_FOR_TARGET="mips64vr4300-elf-ar" \
AR_FLAGS_FOR_TARGET="rc" \
CC="gcc" CFLAGS="-g -O2" \
HOST_PREFIX="" HOST_PREFIX_1="loser-" \
LANGUAGES="c c++" \
LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include
-G 0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -EL"
libgcc2.a
make[3]: Entering directory `/tmp/build/gcc/gcc'
make[3]: *** No rule to make target
`/src/gcc/egcs-20000313/gcc/config/mips/mips16.S', needed by
`libgcc2.a'. Stop.
make[3]: Leaving directory `/tmp/build/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'
At the beginning of the make process, the file gcc/config/mips/mips16.S
is there, but at the end it isn't.
I can't find any mention of how of why that file is getting deleted in
the make process.
Any help would be greatly appreciated.
Warren