This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello. I am attempting to compile a linux-m68k-elf crosscompiler based on gcc-3.0.4 with C/C++-support on Redhat 7.2. I get the following error when compiling the (final) compiler: /home/erik/src/build-gcc/gcc/xgcc -B/home/erik/src/build-gcc/gcc/ -B/home/erik/m68k-elf/bin/ -B/home/erik/m68k-elf/lib/ -isystem /home/erik/m68k-elf/include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-3.0.4/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-3.0.4/libiberty/vsprintf.c ../../../gcc-3.0.4/libiberty/vsprintf.c: In function `vsprintf': ../../../gcc-3.0.4/libiberty/vsprintf.c:47: structure has no member named `_flag' ../../../gcc-3.0.4/libiberty/vsprintf.c:47: `_IOWRT' undeclared (first use in this function) ../../../gcc-3.0.4/libiberty/vsprintf.c:47: (Each undeclared identifier is reported only once ../../../gcc-3.0.4/libiberty/vsprintf.c:47: for each function it appears in.) ../../../gcc-3.0.4/libiberty/vsprintf.c:47: `_IOSTRG' undeclared (first use in this function) ../../../gcc-3.0.4/libiberty/vsprintf.c:48: structure has no member named `_ptr' ../../../gcc-3.0.4/libiberty/vsprintf.c:49: structure has no member named `_cnt' ../../../gcc-3.0.4/libiberty/vsprintf.c:51: warning: implicit declaration of function `_doprnt' make[1]: *** [vsprintf.o] Error 1 make[1]: Leaving directory `/home/sennels/src/build-gcc/m68k-elf/libiberty' make: *** [all-target-libiberty] Error 2 My approoach is this: PREFIX=/home/erik/src TARGET=m68k-elf 1) build/install binutils-2.12 2) build/install bootstrap-gcc (3.0.4) $ ../gcc-3.0.4/configure --target=$TARGET --prefix=$PREFIX \ --without-headers --with-newlib --with-gnu-as --with-gnu-ld \ --with-local-prefix=${PREFIX}/${TARGET} --disable-shared \ --enable-languages=c,c++ 3) build/install newlib-1.10.0 ../newlib-1.10.0/configure --target=$TARGET --prefix=$PREFIX 4) compile $ ../gcc-3.0.4/configure --target=$TARGET --prefix=$PREFIX \ --enable-languages=c,c++ --with-local-prefix=${PREFIX}/${TARGET} \ --with-gnu-as --with-gnu-ld The process fails in 4). It does compile when I turn off c++-support. Can anyone suggest what I am doing wrong? Best regards Lau Sennels -- use PDL; use PDL::IO::Pic;$a=zeroes 300,300; $r=$a->xlinvals(-1.5,0.5); $i=$a->ylinvals(-1,1);$t=$r;$u=$i;for(1..30){$q=$r**2-$i**2+$t; $h=2*$r*$i+$u;$d=$r**2+$i**2;$a=lclip($a,$_*($d>2.0)*($a==0)); ($r,$i)=map{$_->clip(-5,5)}($q,$h);}$a->wpic("mandelbrot.gif"); ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |