[Haskell-cafe] Looping after compiling with cabal

Neil Mitchell ndmitchell at gmail.com
Mon Feb 16 07:07:04 EST 2009


Hi Henk-Jan,

I believe cabal adds a -O on the command line, perhaps try ghc --make
-O (after deleting all object files)

Thanks

Neil

On Mon, Feb 16, 2009 at 12:04 PM, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:
>
> L.S.,
>
> I have updated wxFruit to compile with GHC 6.10.1, but when I compil using
> the commands:
>  runhaskell Setup configure   & runhaskell Setup build   & runhaskell Setup
> install
> and run paddle.exe, I get the message:
>  paddle: <<loop>>
>
> If I compile with:
>  ghc --make paddle
> , the game starts normally.
>
> Any idea how I can solve this?
>
> Some more data:
> Using:
>  Yampa-0.9.2.3
>  wxFruit-0.1.1 from Hackage, updated
>  GHC 6.10.1
>  Windows XP
>
> Compile sessions:
>
> [...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>ghc --make paddle
> [1 of 2] Compiling WXFruit          ( WXFruit.hs, WXFruit.o )
> [2 of 2] Compiling Main             ( paddle.hs, paddle.o )
> Linking paddle.exe ...
>
> This paddle.exe works fine
>
>
> [...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>runhaskell Setup configure
>   & runhaskell Setup build   & runhaskell Setup install
> Configuring wxFruit-0.1.2...
> Preprocessing library wxFruit-0.1.2...
> Preprocessing executables for wxFruit-0.1.2...
> Building wxFruit-0.1.2...
> [1 of 1] Compiling WXFruit          ( WXFruit.hs, dist\build\WXFruit.o )
> C:\Programs\ghc\ghc-6.10.1\bin\ar.exe: creating
> dist\build\libHSwxFruit-0.1.2.a
> [1 of 2] Compiling WXFruit          ( WXFruit.hs,
> dist\build\paddle\paddle-tmp\WXFruit.o )
> Linking dist\build\paddle\paddle.exe ...
> Installing library in C:\Program Files\Haskell\wxFruit-0.1.2\ghc-6.10.1
> Installing executable(s) in C:\Program Files\Haskell\bin
> Registering wxFruit-0.1.2...
> Reading package info from "dist\\installed-pkg-config" ... done.
> Writing new package config file... done.
>
> [...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated>cd dist\build\paddle
>
> [...]\Haskell\GUI\wxHaskell\wxFruit-0.1.1.updated\dist\build\paddle>paddle
> paddle: <<loop>>
>
> --
> Regards,
> Henk-Jan van Tuyl
>
>
> --
> http://functor.bamikanarie.com
> http://Van.Tuyl.eu/
> --
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list