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] |
It is missing the c library header files. If you have prebuilt libraries and headers, then you can use --with-headers=<pathtoheaders> and --with-libs=<pathtolibs> with configure. Otherwise you can use newlib. Linking the newlib directory into your gcc source directory means you don't have to use --with-headers option with configure e.g. So in your <pathtogccsource>/gcc-2.9.5/ "ln -s <pathtonewlibsource>/newlib-1.8.1/newlib newlib" Of course if you are using a newer version of newlib sub that in. I like to add "--with-gnu-ld --with-gnu-as --with-newlib" to the configure options to make things go a little smoother if you are using newlib (which you build after gcc) and binutils. Noah On 1 Mar 2001, at 16:07, Mark Palmerino wrote: > Hi all, > > I am taking Kai's gentle suggestions to consider using gcc-2.95.2 as the > base for building a cross-compiler with the target of m68k-coff. I am in > that process now. > > I have run into a problem that I'm hoping someone might suggest a solution > for. Here is the output during the make where it stops. It seems that there > is a "configure error" when checking whether the C compiler works. The funny > thing though is that I think it was working in the make before this point. > Also, if I execute the following from the unix prompt: > > /h/crossgcc/build-gcc295/gcc/xgcc -B/h/crossgcc/build-gcc95/gcc/ > -B/usr/local/m68k-coff/bin/ -g -O2 > > I get: > > xgcc: No input files > > If I add a -v to the above command, I get: > > Using builtin specs. > gcc version 2.95.2 19991024 (release) > > So it seems to me it is working. > > Any ideas of what to do? > > Thanks > > -------- clip ------ > > Configuring in m68k-coff/libiberty > loading cache ./config.cache > checking host system type... m68k-unknown-coff > checking build system type... powerpc-apple-machten5 > checking for m68k-coff-ar... m68k-coff-ar > checking for m68k-coff-ranlib... m68k-coff-ranlib > checking for gcc... /h/crossgcc/build-gcc295/gcc/xgcc > -B/h/crossgcc/build-gcc295/gcc/ -B/us > r/local/m68k-coff/bin/ > checking whether we are using GNU C... yes > checking whether /h/crossgcc/build-gcc295/gcc/xgcc > -B/h/crossgcc/build-gcc295/gcc/ -B/usr/ > ocal/m68k-coff/bin/ accepts -g... yes > checking for POSIXized ISC... no > checking for a BSD compatible install... /usr/bin/install -c > xhost-mkfrag is unchanged > checking how to run the C preprocessor... /h/crossgcc/build-gcc295/gcc/xgcc > -B/h/crossgcc/ > uild-gcc295/gcc/ -B/usr/local/m68k-coff/bin/ -E > checking for sys/file.h... no > checking for sys/param.h... no > checking for stdlib.h... no > checking for string.h... no > checking for unistd.h... no > checking for strings.h... no > checking for sys/time.h... no > checking for sys/resource.h... no > checking for sys/wait.h that is POSIX.1 compatible... no > checking whether the C compiler (/h/crossgcc/build-gcc295/gcc/xgcc > -B/h/crossgcc/build-gcc > 95/gcc/ -B/usr/local/m68k-coff/bin/ -g -O2 ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executab > es. > make[1]: Entering directory `/h/crossgcc/build-gcc295/m68k-coff/libio' > rootme=`pwd`/ ; export rootme; \ > CC="/h/crossgcc/build-gcc295/gcc/xgcc -B/h/crossgcc/build-gcc295/gcc/ > -B/usr/local/m68k-co > f/bin/ -I. -I../../../gcc-2.95.2/libio"; export CC; \ > CXX="/h/crossgcc/build-gcc295/gcc/xgcc -B/h/crossgcc/build-gcc295/gcc/ > -B/usr/local/m68k-c > ff/bin/ -I. -I../../../gcc-2.95.2/libio -nostdinc++ -nostdinc++ -g -O2"; > export CXX; \ > CONFIG_NM="m68k-coff-nm"; export CONFIG_NM; \ > /bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0 > >tmp-params.h > dummy.c:1: sys/types.h: No such file or directory > dummy.c:8: stdio.h: No such file or directory > dummy.c:9: time.h: No such file or directory > dummy.c:10: signal.h: No such file or directory > gen-params: could not invoke /h/crossgcc/build-gcc295/gcc/xgcc > -B/h/crossgcc/build-gcc295/ > cc/ -B/usr/local/m68k-coff/bin/ -I. -I../../../gcc-2.95.2/libio -E on > dummy.c > make[1]: *** [_G_config.h] Error 1 > make[1]: Leaving directory `/h/crossgcc/build-gcc295/m68k-coff/libio' > make: *** [all-target-libio] Error 2 > > > > > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com ------------------------------------------ Noah Aklilu http://www.ee.ualberta.ca/~aklilu/ naklilu@ualberta.ca ------ 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] |