This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

make error


Hi,
  I am trying to build and install the binutils and
gcc for i686-pc-linuc-gnu target using cygwin on
windows NT.
  I am through with the binutils and also finished
with configuring the gcc.But when I try building it
using....... make -w all-gcc install-gcc LANGUAGES="c
c++" 2>&1 | tee make.out
I get this error
/src/gcc/gcc-2.95.2/gcc/frame
make[2]: Entering directory `/tmp/build/gcc/gcc'
/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/i686-pc-linux-gnu/bin/
-I/tools/H-i686-pc-cygwin/i686-pc-linux-gnu/include
-O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include 
-fPIC  -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc  -g -O2 -I. -I/src/gcc/gcc-2.95.2/gcc
-I/src/gcc/gcc-2.95.2/gcc/config
-I/src/gcc/gcc-2.95.2/gcc/../include \
  -c /src/gcc/gcc-2.95.2/gcc/cp/tinfo.cc
In file included from
/src/gcc/gcc-2.95.2/gcc/cp/tinfo.cc:32:
include/new:28: `operator new' takes type `size_t' as
first parameter
include/new:29: `operator new' takes type `size_t' as
first parameter
include/new:32: `operator new' takes type `size_t' as
first parameter
include/new:33: `operator new' takes type `size_t' as
first parameter
include/new:38: `operator new' takes type `size_t' as
first parameter
include/new:39: `operator new' takes type `size_t' as
first parameter
make[2]: *** [tinfo.o] Error 1
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

where am I missing something.
for configuring gcc I gave the
target=i686-pc-linux-gnu and
--exec-prefix=/tools/H-i686-pc-cygwin

PLease help me out.I am stuck.I want to develop the
tools for a linux target.Thanks.
regards,
Satya


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]