public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Crash trying to build gcc as a cross compiler
@ 2000-08-16 11:24 Marcio de Oliveira Buss
  2000-08-16 11:43 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Marcio de Oliveira Buss @ 2000-08-16 11:24 UTC (permalink / raw)
  To: gcc-help

	Dear,
	I am trying to build the development version of
 gcc as a cross compiler (Linux -> Mips-elf) but it seems
 like doesn't find the includes.
	I have been trying this:


./configure --target = mips-elf
            --prefix = ~/Compilers/GCC/gcc-mips/usr/local
            --with-gnu-as
            --with-gnu-ld
            --with-headers =
               ~/Compilers/GCC/sources/Gnu/src/newlib/libc/include
            --with-newlib
            --with-includes = ~/Compilers/GCC/gcc-mips/usr/local/include
            --with-libs = ~/Compilers/GCC/gcc-mips/usr/local/lib
 
 make


But the following error message has appeared:

make[3]: Entering directory
`/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc'
/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc/xgcc
-B/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc/ -nostdinc
-B/home/mbuss/Compilers/GCC/sources/Gnu/gcc/mips-elf/newlib/ -isystem
/home/mbuss/Compilers/GCC/sources/Gnu/gcc/mips-elf/newlib/targ-include
-isystem /home/mbuss/Compilers/GCC/sources/Gnu/gcc/newlib/libc/include
-B/home/mbuss/Compilers/GCC/gcc-mips/usr/local/mips-elf/bin/
-B/home/mbuss/Compilers/GCC/gcc-mips/usr/local/mips-elf/lib/ -isystem
/home/mbuss/Compilers/GCC/gcc-mips/usr/local/mips-elf/include
-L/home/mbuss/Compilers/GCC/sources/Gnu/gcc/ld -O2  -DCROSS_COMPILE
-DIN_GCC    -g -O2 -isystem ./include  -G 0 -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -g -O2 -I. -I. -I./config
-I./../include \
 -DHAVE_CONFIG_H \
         -c ./../libiberty/cp-demangle.c -o cp-demangle.o
./../libiberty/cp-demangle.c:30:23: sys/types.h: No such file or directory
./../libiberty/cp-demangle.c:33:20: stdlib.h: No such file or directory
./../libiberty/cp-demangle.c:36:19: stdio.h: No such file or directory
./../libiberty/cp-demangle.c:39:20: string.h: No such file or directory
make[3]: *** [cp-demangle.o] Error 1
make[3]: Leaving directory `/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc'
make[2]: *** [libgcc/./cp-demangle.o] Error 2
make[2]: Leaving directory `/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/mbuss/Compilers/GCC/sources/Gnu/gcc/gcc'
make: *** [all-gcc] Error 2



	I get the sources of gcc and src via cvs:

	cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/gcc login
        cvs -z 9 co gcc
        cvs logout

        cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
        cvs -z 9 co src
        cvs logout

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Crash trying to build gcc as a cross compiler
  2000-08-16 11:24 Crash trying to build gcc as a cross compiler Marcio de Oliveira Buss
@ 2000-08-16 11:43 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2000-08-16 11:43 UTC (permalink / raw)
  To: Marcio de Oliveira Buss; +Cc: gcc-help

On Aug 16, 2000, Marcio de Oliveira Buss  <ra990898@ic.unicamp.br> wrote:

> -isystem /home/mbuss/Compilers/GCC/sources/Gnu/gcc/newlib/libc/include

> ./../libiberty/cp-demangle.c:30:23: sys/types.h: No such file or directory

Strange...  It should have found the headers in the directory above.
Does that directory exist?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-08-16 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-16 11:24 Crash trying to build gcc as a cross compiler Marcio de Oliveira Buss
2000-08-16 11:43 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).