RE: building cygwin

2004-12-07 Thread Simon Marlow
On 06 December 2004 21:31, Sven Panne wrote: Hmmm, having some fragile OS-dependent #ifdefs is not the way to go. While you are there, every #ifdef mingw32_TARGET_OS which needs to be changed should be replaced by something feature-specific like #if HAVE_FOO_BAR_FUNCTION Good

RE: building cygwin

2004-12-06 Thread Simon Marlow
On 04 December 2004 01:49, Ben Kavanagh wrote: I'm going to create a standard dist for cygwin. In order to do so, according to the porting guide I need to build a set of .hc files with mingw32(same hardware) and then use hc-build with those. To create the hc files from mingw32 for use with

Re: building cygwin

2004-12-06 Thread Sven Panne
Simon Marlow wrote: [...] I doubt it'll be trivial - probably lots of #ifdef mingw32_TARGET_OS will need to change to #if defined(mingw32_TARGET_OS) || defined(cygwin_TARGET_OS) [...] Hmmm, having some fragile OS-dependent #ifdefs is not the way to go. While you are there, every #ifdef