Getting GHC to print Done when it's finished linking?

2006-03-07 Thread Brian Hulley
Hi - I've set up my Visual Studio environment so that ghc is an external tool, where the output from ghc appears on the VS output pane. However when I use this to compile and link a Haskell program (I'm just using the plain text editor that comes with VC++ not the Haskell plugin because of its

Re: Getting GHC to print Done when it's finished linking?

2006-03-07 Thread Tomasz Zielonka
On Tue, Mar 07, 2006 at 06:45:52PM -, Brian Hulley wrote: Is there any flag to get ghc or the ghc linker to print Done or something when it's finished? In unix you could wrap ghc in a script that would print Done if ghc finished successfully. I am sure you can do it somehow in windows.

Re: Getting GHC to print Done when it's finished linking?

2006-03-07 Thread Neil Mitchell
In unix you could wrap ghc in a script that would print Done if ghc finished successfully. I am sure you can do it somehow in windows. ghc --make Whatever if errorfail 1 goto failed echo Success :-) goto end :failed echo Failure :-( :end Thanks Neil

Re: Getting GHC to print Done when it's finished linking?

2006-03-07 Thread Tomasz Zielonka
On Tue, Mar 07, 2006 at 06:54:50PM +, Neil Mitchell wrote: In unix you could wrap ghc in a script that would print Done if ghc finished successfully. I am sure you can do it somehow in windows. ghc --make Whatever if errorfail 1 goto failed echo Success :-) goto end :failed echo

Re: Getting GHC to print Done when it's finished linking?

2006-03-07 Thread Brian Hulley
Neil Mitchell wrote: In unix you could wrap ghc in a script that would print Done if ghc finished successfully. I am sure you can do it somehow in windows. ghc --make Whatever if errorfail 1 goto failed echo Success :-) goto end failed echo Failure :-( end Thanks Neil - the script below,