[Haskell-cafe] Re: [Haskell] installing streams library
Bulat Ziganshin
bulat.ziganshin at gmail.com
Mon May 22 01:43:26 EDT 2006
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:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list