FW: Libgcc2 compilation

umar janjua umarj@enabtech.com
Mon Jun 3 00:58:00 GMT 2002




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



More information about the Gcc-help mailing list