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]

Re: Compiling GCC 2.95.1 for ARM7 Cross Compiler


Using Geir input below, make was able to proceed further. However, I ran into
another problem. I got the following message. Can somebody help??

Thanks,
-Sudhakar

--------------------------------------
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler
(/portal/apps3/gnu_compiler/build_gcc/gcc/xgcc
-B/portal/apps3/gnu_compiler/build_gcc/gcc/
-B/portal/apps3/gnu_compiler/build/arm-coff/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[1]: Entering directory
`/portal/apps3/gnu_compiler/build_gcc/arm-coff/libio'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
CC="/portal/apps3/gnu_compiler/build_gcc/gcc/xgcc
-B/portal/apps3/gnu_compiler/build_gcc/gcc/
-B/portal/apps3/gnu_compiler/build/arm-coff/bin/ -I.
-I../../../gcc-2.95.1/libio"; export CC; \
CXX="/portal/apps3/gnu_compiler/build_gcc/gcc/xgcc
-B/portal/apps3/gnu_compiler/build_gcc/gcc/
-B/portal/apps3/gnu_compiler/build/arm-coff/bin/ -I.
-I../../../gcc-2.95.1/libio -nostdinc++ -nostdinc++ -g -O2"; export CXX; \
CONFIG_NM="arm-coff-nm"; export CONFIG_NM; \
/bin/sh ../../../gcc-2.95.1/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 /portal/apps3/gnu_compiler/build_gcc/gcc/xgcc
-B/portal/apps3/gnu_compiler/build_gcc/gcc/
-B/portal/apps3/gnu_compiler/build/arm-coff/bin/ -I.
-I../../../gcc-2.95.1/libio -E on dummy.c
make[1]: *** [_G_config.h] Error 1
make[1]: Leaving directory
`/portal/apps3/gnu_compiler/build_gcc/arm-coff/libio'
make: *** [all-target-libio] Error 2

--------------------------------------


Geir Harris Hedemark wrote:

> sudhakaran.ram@portalplayer.com writes:
> > arm-unknown-coff target
> > ./fixinc.sh: /portal/apps3/gnu_compiler/build/arm-coff/sys-include: does
> > Can you help me resolve this?
>
> You will need to say
>
> mkdir /portal/apps3/gnu_compiler/build/arm-coff/sys-include
>
> to resolve the error you have already gotten yourself into, and
>
> mkdir /portal/apps3/gnu_compiler/build/arm-coff/include
> touch /portal/apps3/gnu_compiler/build/arm-coff/include/unistd.h
>
> to resolve the one you will run into next.
>
> I sent this description to the CrossGCC faq maintainer yesterday.
>
> Geir


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