Re: Yasm r1713 fixed; building and Windows-native

Peter Tanski <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
On Dec 19, 2006, at 3:27 PM, Neil Mitchell wrote:
> Yhc uses Scons. I personally don't recommend it.
>
> Makefiles are obviously absolutely horrible on Windows.
>
> CMake is next on my list of "build systems to try"

Thanks for the advice!  My reason for suggesting SCons was that it  
seemed to work well with Yhc--of course what isn't apparent is the  
amount of work you put in to make it work well :)  The other reason  
for SCons was its flexibility as a scripting language to allow  
different toolsets (i.e., ghc) and file types (i.e., .hs, .cmm).  Of  
course, CMake has been used for the Chicken Scheme compiler so it  
can't be that hard: we would have to write a lot of  
ADD_CUSTOM_COMMAND commands.

Have you looked into Bakefile or Interscript?  CMake looks more  
powerful than Bakefile, which ends up using nmake on Windows, while  
Interscript is really a literate programming language with the  
ability to execute scripts.  Interscript works very well for Felix  
but it is a bizarre system to work with.

One really powerful alternative--though at one time I hated it as a  
user--is Boost.Jam.  What I am really looking for is built-in support  
for different C compilers since adapting any build system is really  
just using a specialised scripting language.  It might be possible to  
adapt or extend Cabal, even...

Cheers,
Pete
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.