Help Needed.

rejip rejip@cdotb.ernet.in
Thu Jun 13 10:02:00 GMT 2002


Hi All,
                I am trying to build gcc3.1 cross compiler for motorola
68302 under LINUX(redhat 7.2).  I have built binutils-2.11 and
newlib-1.9.0 as follows.

bash$ tar xzf binutils-2.11.tar.gz
bash$ cd build-binutils
bash$ ../binutils-2.11/configure --prefix=/usr/local/m68k-elf
--target=m68k-elf
bash$ make
bash$ make install


bash$ cd ..
bash$ tar xzf newlib-1.9.0.tar.gz
bash$ cd build-newlib
bash$ ../newlib-1.9.0/configure  --prefix=/usr/local/m68k-elf
--target=m68k-elf
bash$ make
bash$ make install



bash$ cd ..
bash$ tar xzf gcc-3.1.tar.gz
bash$ cd build-gcc
bash$ ../gcc-3.1/configure --prefix=/usr/local/m68k-elf
--target=m68k-elf \
            --with-gnu-as --with-gnu-as --with-gnu-ld
--enable-languages=c

But when trying to build gcc-3.1(as given above) then  I am getting the
following error.

xgcc: ../../../../gcc-3.1/libstdc++-v3/libsupc++/eh_alloc.cc: C++
compiler not installed on this system
make[2]: *** [eh_alloc.lo] Error 1
make[2]: Leaving directory `build-gcc/m68k-elf/libstdc++-v3/libsupc++'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `build-gcc/m68k-elf/libstdc++-v3'
make: *** [install-target-libstdc++-v3] Error 2

What could have been the possible problem. Any help will be highly
appreciated.

thanks in advance,

reji p rajesh
Research Engineer,
Centre for Development Of Telematics(C-DOT)
Bangalore, India


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list