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

Eric Christopher echristo@apple.com
Thu Jun 21 09:22:00 GMT 2007


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



More information about the Gcc mailing list