This is the mail archive of the gcc@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]

Re: libgcc fails to compile if DItype is not supported [bswapdi2]



On Jun 20, 2007, at 9:40 PM, Pompapathi V Gadad wrote:


Hello Eric,
The target I am working on is 16-bit target and cannot support 64- bit data types (DI mode).


How about conditionally declare the function?
#if LONG_LONG_TYPE_SIZE > 32
extern DItype __bswapdi2 (DItype);
#endif

You'll want to do it where the function is compiled, see other functions that use DItype. :)


Or, I'll probably get to it in a day or two...

-eric


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