Hello Ross,

Monday, May 22, 2006, 3:59:17 AM, you wrote:

>> cpphs --noline -D__HUGS__ -D__HUGS_VERSION__=2005 -DSIZEOF_HSINT=4 
>> -DSIZEOF_HSWORD=4

> Cabal already adds -D__HUGS__ when building for Hugs, __HUGS_VERSION__
> isn't used, and the SIZEOF's aren't universally valid.  For GHC,
> the package gets them from MachDeps.h (an undocumented interface).
> Doing it portably probably requires autoconfery.

but what to do if library depends on Hugs version and word size of
target machine? GHC can solve such problems by providing all the
necessary preprocessor symbols but Hugs can't :(


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]


_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to