This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]