This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
eCos environment prolem(Thanks.)
- From: joe_wu at seed dot net dot tw
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 16 May 2006 15:09:33 +0800 (CST)
- Subject: [ECOS] eCos environment prolem(Thanks.)
Dear all,
I am setting the ecos environment, now.
And I already download the setup.exe from the following website.
http://www.cygwin.com/
And intsall the CygWin through internet.
Then, I following the following build-toochain web site to install the toochain.
but when use the following method :
************************************************************************************
3.Configure GCC, ensuring that the GNU binary utilities are at the head of the PATH:
PATH=/gnutools/bin:$PATH ; export PATH
mkdir -p /tmp/build/gcc
cd /tmp/build/gcc
/src/gcc-3.2.1/configure --target=TARGET \
--prefix=/gnutools --enable-languages=c,c++ \
--with-gnu-as --with-gnu-ld --with-newlib \
--with-gxx-include-dir=/gnutools/TARGET/include \
-v 2>&1 | tee configure.out
4.Build and install GCC:
make -w all install 2>&1 | tee make.out
************************************************************************************
to install the GCC 3.3.1 compiler, The following Segmentation fault appeared;
************************************************************************************
/tmp/build/gcc/gcc/xgcc -shared-libgcc -B/tmp/build/gcc/gcc/ -nostdinc++ -L/tmp/build/gcc/arm-elf/libstdc++-v3/src -L/tmp/build/gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/build/gcc/arm-elf/newlib/ -isystem /tmp/build/gcc/arm-elf/newlib/targ-include -isystem /src/gcc-3.2.1/newlib/libc/include -B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/ -isystem /gnutools/arm-elf/include -nostdinc++ -I/tmp/build/gcc/arm-elf/libstdc++-v3/include/arm-elf -I/tmp/build/gcc/arm-elf/libstdc++-v3/include -I/src/gcc-3.2.1/libstdc++-v3/libsupc++ -I/src/gcc-3.2.1/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /src/gcc-3.2.1/libstdc++-v3/src/locale.cc -o locale.o
/bin/sh ../libtool --tag CXX --mode=compile /tmp/build/gcc/gcc/xgcc -shared-libgcc -B/tmp/build/gcc/gcc/ -nostdinc++ -L/tmp/build/gcc/arm-elf/libstdc++-v3/src -L/tmp/build/gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/build/gcc/arm-elf/newlib/ -isystem /tmp/build/gcc/arm-elf/newlib/targ-include -isystem /src/gcc-3.2.1/newlib/libc/include -B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/ -isystem /gnutools/arm-elf/include -nostdinc++ -I/tmp/build/gcc/arm-elf/libstdc++-v3/include/arm-elf -I/tmp/build/gcc/arm-elf/libstdc++-v3/include -I/src/gcc-3.2.1/libstdc++-v3/libsupc++ -I/src/gcc-3.2.1/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc
/tmp/build/gcc/gcc/xgcc -shared-libgcc -B/tmp/build/gcc/gcc/ -nostdinc++ -L/tmp/build/gcc/arm-elf/libstdc++-v3/src -L/tmp/build/gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/tmp/build/gcc/arm-elf/newlib/ -isystem /tmp/build/gcc/arm-elf/newlib/targ-include -isystem /src/gcc-3.2.1/newlib/libc/include -B/gnutools/arm-elf/bin/ -B/gnutools/arm-elf/lib/ -isystem /gnutools/arm-elf/include -nostdinc++ -I/tmp/build/gcc/arm-elf/libstdc++-v3/include/arm-elf -I/tmp/build/gcc/arm-elf/libstdc++-v3/include -I/src/gcc-3.2.1/libstdc++-v3/libsupc++ -I/src/gcc-3.2.1/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc -o locale-inst.o
/tmp/build/gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc: In member
function `_OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, bool,
std::ios_base&, _CharT, const std::basic_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT =
char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]':
/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc:48: instantiated from here
/tmp/build/gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc:1361: internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/build/gcc/arm-elf/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
make: Leaving directory `/tmp/build/gcc'
************************************************************************************
It's urgent for me, if some one
can help me, thanks very much.
Best regards,
Jove
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss