This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

host=sunos target=mips-*-ecoff, configure problem


Dear list,

I want to install a cross compiler with host=sunos and target=mips*.

This compiler should be used to generate an operating system image for a
small OS developed at our lab. So, I installed binutils-2.9.1 for this
cross compilation -- without problems. Installing gcc-2.95.2 reached
until the test procedure for libio after I outcommented the
LIBGCC-settings within gcc/Makefile. There I always receive the
following error:
...
checking whether the C compiler (/scratch/ruf/mips-gcc/gcc/xgcc
-B/scratch/ruf/mips-gcc/gcc/ -Bmips-IDT-ecoff/mips-IDT-ecoff/bin/ -g -O2
) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
gmake[1]: Entering directory `/scratch/ruf/mips-gcc/mips-IDT-ecoff/libi])

which results in:
/bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0
>tmp-params.h
as: unrecognized option `-O2'
gen-params: could not compile dummy.C with
/scratch/ruf/mips-gcc/gcc/xgcc -B/scratch/ruf/mips-gcc/gcc/
-Bmips-IDT-ecoff/mips-IDT-ecoff/bin/ -I. -I../../../gcc-2.95.2/libio
-nostdinc++ -nostdinc++ -g -O2
gmake[1]: *** [_G_config.h] Error 1
gmake[1]: Leaving directory `/scratch/ruf/mips-gcc/mips-IDT-ecoff/libio'
gmake: *** [all-target-libio] Error 2

If anyone knows how to overcome this problem, I would be very glad if he
or she could provide me the solution.

Thanks in advance.

Kind regards,

Lukas

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


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