This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cc1plus problem
- TO: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] cc1plus problem
- From: "Nicola Bergamin [BW]" <nicola dot bergamin at bluewind dot it>
- Date: Fri, 25 May 2001 08:11:11 +0200
Hi,
I've tried to build gcc2.95.2 under cygwin1.3.1.
using source files:
binutils-2.10.1.tar.gz2,
gcc-core-2.95.2.tar.bz2
gcc-g++-2.95.2.tar.bz2
and patch:
ecos-gcc-2952.pat
The build seemed ok, except that "cc1plus.exe" was not built at all!
Another strange thing, "libgcc.a" was 99kB, appeared too small in
size.
(I checked with other builds, it should make 240kB)
The instruction I followed is the standard set in eCos website, and
here is the
command file I used under bash shell:
(just report here the GCC section...)
************************************
#!/bin/sh
target=arm-elf
prefix=/tools_ecos
mkdir -p /tmp/build/build_gcc
cd /tmp/build/build_gcc/src/gcc/gcc-2.95.2/configure \
--target=$target \
--prefix=$prefix \
--exec_prefix=$prefix/xgcc \
--with-gnu-as \
--with-gnu-ld \
--with-newlib -v 2>&1 | tee configure-xgcc.out
make -w all-gcc install-gcc LANGUAGES="c c" 2>&1 | tee make-
xgcc.out
***********************************************************************
By changing to ...LANGUAGES="c c++"
everything worked, cc1plus.exe was built and libgcc.a got 240kB
size, as expected.
Does anybody know the meaning of "c c", and "c c++" strings?
What's wrong with the original build commands?
Thanks
Nicola
------------------------------------------
Nicola Bergamin
BlueWind Embedded Systems Design
Via Steffani, 7/B
I-31033 Castelfranco Veneto (TV)
Office: +39 0 423 723431
Fax : +39 0 423 744738
GSM : +39 335 7556736
mailto:nicola.bergamin@bluewind.it
http://www.bluewind.it
------------------------------------------