This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Libgcc2 compilation
- From: umar janjua <umarj at enabtech dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 3 Jun 2002 12:38:00 +0500
- Subject: Libgcc2 compilation
During the porting of gcc to new target , the make process fails at
ake[2]: *** [libgcc/./_lshrdi3.o] Error 1
make[2]: Leaving directory `/usr/local/src/gnu/BUILD3.1/gcc/gcc'
make[1]: *** [libgcc.a] Error 2
Earlier the gcc failed at _negdi2.o building, which was corrected by adding
negdi2 entry in the macro
#define INIT_TARGET_OPTABS \
do { \
.....
smul_optab->handlers[(int) QImode].libfunc \
= init_one_libfunc (MULQI3_LIBCALL); \
neg_optab->handlers[(int) QImode].libfunc \
= init_one_libfunc (NEGDI2_LIBCALL); \
.....
} while (0)
However i do not want to do the same thing for l_shrdi3 error. Gcc should
compile the libgcc2.c correctly containing functions like _negdi2, l_shrdi3
and so on. How to do so..