This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cross compiling for strongarm
When I use the headers from the kernel and run make, I get the
following error. I made sym links (asm,linux) to point to the
appropriate directories in the kernel source. Do I need to recompile
glibc? Please advise.
Thanks
-Arvind
-------
make GCC_FOR_TARGET="/arvind/local/gcc/gcc/xgcc -B/arvind/local/gcc/gcc/ -B/arvind/local/arm-linux/bin/ -B/arvind/local/arm-linux/lib/ -isystem /arvind/local/arm-linux/include" \
HOST_PREFIX="" HOST_PREFIX_1="loser-" \
AR_FOR_TARGET="arm-linux-ar" \
AR_CREATE_FOR_TARGET="arm-linux-ar rc" \
AR_FLAGS_FOR_TARGET="" \
OLDCC="cc" CCLIBFLAGS="-O" \
CFLAGS="-g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long" \
RANLIB_FOR_TARGET="arm-linux-ranlib" \
RANLIB_TEST_FOR_TARGET="[ -f arm-linux-ranlib ] || ( [ "i686-pc-linux-gnu" = "arm-unknown-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC `echo -g -O2 -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long|sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc" \
INCLUDES="-I. -I. -I./config -I./../include" MAYBE_USE_COLLECT2="" \
CONFIG_H="" MACHMODE_H="machmode.h machmode.def" \
LIB1ASMSRC='arm/lib1funcs.asm' \
-f libgcc.mk all
make[2]: Entering directory `/arvind/local/gcc/gcc'
for d in libgcc soft-float libgcc/soft-float; do \
if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/arvind/local/gcc/gcc/xgcc -B/arvind/local/gcc/gcc/ -B/arvind/local/arm-linux/bin/ -B/arvind/local/arm-linux/lib/ -isystem /arvind/local/arm-linux/include -O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -isystem ./include -fomit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I./config -I./../include -DL_fixunsdfdi -c ./libgcc2.c -o libgcc/./_fixunsdfdi.o
./libgcc2.c: In function `__fixunsdfdi':
./libgcc2.c:777: Internal compiler error in single_set_1, at rtlanal.c:870
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_fixunsdfdi.o] Error 1
make[2]: Leaving directory `/arvind/local/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/arvind/local/gcc/gcc'
make: *** [all-gcc] Error 2
On Fri, Oct 13, 2000 at 05:37:09PM -0200, Alexandre Oliva wrote:
" On Oct 13, 2000, Arvind Krishnaswamy <arvind@CS.Arizona.EDU> wrote:
"
" > Where can Iget the headers required for the strongarm?
"
" Presumably, in the sources of the kernel and of glibc.
"
" > Where exactly should I put them if I'm buiding under /arvind/local
"
" Point to them using --with-headers.