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]

Additional information: #error Cannot find a suitable type for FFECOM_f2cLONGINT


I have tested now with 

bash-2.04$ make -w all-gcc install-gcc LANGUAGES="c c++" 2>&1 | tee make.out

and I receive the following message:
  echo ${name}; \
  /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/ -B/tools/h8300hms/bin/
-I/tools/h8300hms/include -O2  -DCROSS_COMPILE -D
IN_GCC     -g -O2 -I./include  -DDF=SF -DDI=SI -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED    -I. -I/src/gcc/gcc-2.95.3-2
/gcc -I/src/gcc/gcc-2.95.3-2/gcc/config
-I/src/gcc/gcc-2.95.3-2/gcc/../include -c -DL${name} \
       /src/gcc/gcc-2.95.3-2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  h8300hms-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/src/gcc/gcc-2.95.3-2/gcc/libgcc2.c:41: stdlib.h: No such file or directory
/src/gcc/gcc-2.95.3-2/gcc/libgcc2.c:42: unistd.h: No such file or directory
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/tmp/build/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

Thanks for any hint!

Regards
Hansi
>  
> Hello,
> 
> I have to build a cross gcc for an h8/S processor. Now if I compile the
program (cygwin1.1.8, win2k) I receive an error message
> 
> I use the following commands to build the gcc:
> 
> bash-2.04$ /src/gcc/gcc-2.95.3-2/configure --target=h8300hms
--prefix=/tools -v 2>&1 |tee configure.out
> 
> bash-2.04$ make -w all-gcc install-gcc 2>&1 | tee make.out
> 
> 
> This are the last messages:
> 
> gcc -DCROSS_COMPILE -DIN_GCC    -g -O2   -o ../cc1plus.exe `cat
../stamp-objlist` ../c-common.o ../c-pragma.o call.o dec
> l.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o
parse.o ptree.o rtti.o spew.o typeck.o cvt.o excep
> t.o friend.o init.o method.o search.o semantics.o tree.o xref.o repo.o
`if [ xobstack.o != x ]; then echo ../obstack.o;
>  else true; fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else
true; fi ;; esac` `if [ x != x ]; then echo ../;
>  else true; fi`  -ladvapi32
> make[2]: Leaving directory `/tmp/build/gcc/gcc/cp'
> touch lang-f77
> cd f; make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=h8300hms-ar"
"BISON=bison" "BISONFLAGS=" "CFLAGS=-g -O2" "CLIB=-ladva
> pi32" "GCC_FOR_TARGET=/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/h8300hms/bin/ -I/tools/h8300hms/include" "L
> DFLAGS=" "LEX=flex" "LEXFLAGS=" "LN=ln" "LN_S=ln -s" "MAKEINFO=makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=h8300hms-r
> anlib" "RANLIB_TEST_FOR_TARGET=[ -f h8300hms-ranlib ] || ( [
"i686-pc-cygwin32" = "h8300-hitachi-hms" ] && [ -f /usr/bin
> /ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh" "STAGE_PREFIX="
"exeext=.exe" "build_exeext=.exe" "objext=.o" "exec_prefi
> x=/tools" "prefix=/tools" "local_prefix=/usr/local"
"gxx_include_dir=/tools/lib/gcc-lib/h8300hms/2.95.3-2/../../../..`ec
> ho /tools | sed -e 's|^/tools||' -e 's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/tools/h8300hms" "gcc_tooldir=/tools/lib/g
> cc-lib/h8300hms/2.95.3-2/../../../../h8300hms" "bindir=/tools/bin"
"libsubdir=/tools/lib/gcc-lib/h8300hms/2.95.3-2" "dat
> adir=/tools/share" "distdir=../tmp/\$(subdir)"
"localedir=/tools/share/locale" "CC=gcc" \
>   HOST_CC="`case 'gcc' in stage*) echo 'gcc' | sed -e
's|stage|../stage|g';; *) echo 'gcc';; esac`" \
>   HOST_CFLAGS="-DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H"
HOST_CPPFLAGS="  " \
>   ../f771.exe
> make[2]: Entering directory `/tmp/build/gcc/gcc/f'
> gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2  -W -Wall    -I. -I..
-I/src/gcc/gcc-2.95.3-2/gcc/f -I/src/gcc/gcc-2.95.3-2/gc
> c/f/.. -I/src/gcc/gcc-2.95.3-2/gcc/f/../config
-I/src/gcc/gcc-2.95.3-2/gcc/f/../../include /src/gcc/gcc-2.95.3-2/gcc/f/b
> ad.c
> gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2  -W -Wall    -I. -I..
-I/src/gcc/gcc-2.95.3-2/gcc/f -I/src/gcc/gcc-2.95.3-2/gc
> c/f/.. -I/src/gcc/gcc-2.95.3-2/gcc/f/../config
-I/src/gcc/gcc-2.95.3-2/gcc/f/../../include /src/gcc/gcc-2.95.3-2/gcc/f/b
> it.c
> gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2  -W -Wall    -I. -I..
-I/src/gcc/gcc-2.95.3-2/gcc/f -I/src/gcc/gcc-2.95.3-2/gc
> c/f/.. -I/src/gcc/gcc-2.95.3-2/gcc/f/../config
-I/src/gcc/gcc-2.95.3-2/gcc/f/../../include /src/gcc/gcc-2.95.3-2/gcc/f/b
> ld.c
> gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2  -W -Wall    -I. -I..
-I/src/gcc/gcc-2.95.3-2/gcc/f -I/src/gcc/gcc-2.95.3-2/gc
> c/f/.. -I/src/gcc/gcc-2.95.3-2/gcc/f/../config
-I/src/gcc/gcc-2.95.3-2/gcc/f/../../include /src/gcc/gcc-2.95.3-2/gcc/f/c
> om.c
> In file included from /src/gcc/gcc-2.95.3-2/gcc/f/com.c:198:
> /src/gcc/gcc-2.95.3-2/gcc/f/com.h:145: #error Cannot find a suitable type
for FFECOM_f2cLONGINT
> make[2]: *** [com.o] Error 1
> make[2]: Leaving directory `/tmp/build/gcc/gcc/f'
> make[1]: *** [f771.exe] Error 2
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
> 
> 
> Have anyone an ide what goes wrong?
> 
> Thanks a lot!
> 
> Hansi

------
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]