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]

_negdi2.o error




[umar janjua]  I am porting gcc to a new dsp architecture on cygwin. somehow
during the make process the system crashes at the following stage. ( see
below)
Can n e 1 help here.
Also, I would like to know about porting gnu assembler,linker,archiver,
ranlib and other. Can i not make my own standalone assembler and place it
inside the build director
for the gcc with the name "as.exe " 
> make[1]: Entering directory `/usr/local/src/gnu/BUILDAVAZ/gcc/libiberty'
> make[2]: Entering directory
> `/usr/local/src/gnu/BUILDAVAZ/gcc/libiberty/testsuite'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/usr/local/src/gnu/BUILDAVAZ/gcc/libiberty/testsuite'
> make[1]: Leaving directory `/usr/local/src/gnu/BUILDAVAZ/gcc/libiberty'
> make[1]: Entering directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc'
> (cd intl && make all)
> make[2]: Entering directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/intl'
> (cd po && make all)
> make[2]: Entering directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/po'
> if [ -f specs.ready ] ; then \
> 	true; \
> else \
> 	echo timestamp > specs.ready; \
> fi
> make GCC_FOR_TARGET="/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/xgcc
> -B/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/ -B/cygdrive/c/avaz/avaz/bin/
> -B/cygdrive/c/avaz/avaz/lib/ -isystem /cygdrive/c/avaz/avaz/include" \
>   HOST_PREFIX="" HOST_PREFIX_1="loser-" \
>   AR_FOR_TARGET="avaz-ar" \
>   AR_CREATE_FOR_TARGET="avaz-ar  rc" \
>   AR_FLAGS_FOR_TARGET="" \
>   OLDCC="cc" CCLIBFLAGS="-O" \
>   CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
>   RANLIB_FOR_TARGET="avaz-ranlib" \
>   RANLIB_TEST_FOR_TARGET="[ -f avaz-ranlib ] || ( [ "i686-pc-cygwin" =
> "avaz-unknown-none" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
>   NM_FOR_TARGET="nm" AWK="gawk" \
>   LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
> ./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
>   INCLUDES="-I. -I. -I/usr/local/src/gnu/gcc-3.0.2/gcc
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/.
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/config
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/../include" MAYBE_USE_COLLECT2="" \
>   CONFIG_H="tconfig.h  insn-codes.h insn-flags.h" MACHMODE_H="machmode.h
> machmode.def" \
>   LIB1ASMSRC='avaz/libgcc.S' \
>   MAKEOVERRIDES= \
>   -f libgcc.mk all
> make[2]: Entering directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc'
> for d in libgcc; do \
>   if [ -d $d ]; then true; else mkdir $d; fi \
> done
> if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
> /usr/local/src/gnu/BUILDAVAZ/gcc/gcc/xgcc
> -B/usr/local/src/gnu/BUILDAVAZ/gcc/gcc/ -B/cygdrive/c/avaz/avaz/bin/
> -B/cygdrive/c/avaz/avaz/lib/ -isystem /cygdrive/c/avaz/avaz/include -O2
> -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/usr/local/src/gnu/gcc-3.0.2/gcc
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/.
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/config
> -I/usr/local/src/gnu/gcc-3.0.2/gcc/../include  -DL_negdi2 -c
> /usr/local/src/gnu/gcc-3.0.2/gcc/libgcc2.c -o libgcc/./_negdi2.o
> cc1.exe: warning: `-g1': unknown or unsupported -g option
> make[2]: *** [libgcc/./_negdi2.o] Error 1
> make[2]: Leaving directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/usr/local/src/gnu/BUILDAVAZ/gcc/gcc'
> make: *** [all-gcc] Error 2
> 
> 

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