building cvs head with cygwin/mingw: ghc-inplace tries to executedirectory?

Simon Marlow simonmar at microsoft.com
Mon Mar 14 04:38:26 EST 2005


On 13 March 2005 01:06, Claus Reinke wrote:

> on windows xp sp2 with cygwin:
> 
> - installed latest alex,happy,haddock from binaries on Sven's page
>     (should this be mentioned in the building guide?
>      http://www.aedion.de/haskell/ )
> 
> - installed ghc 6.4, using msi in download area
> 
> - fetched fresh copy of fptools from cvs, to c:/fptools/fptools
> 
> - followed build instructions for mingw-build
> 
>     + installed msys, but added glut
>         (you might want to mention this in 13.4; also, is there no
>          way to use ghc's copy of mingw instead of a separate one?)
>     + autoreconf
>     + ./configure --host=i386-unknown-mingw32
>     --with-gcc=c:/mingw/bin/gcc + copied mk/build.mk.sample and added
>         'BuildPackageGHC=YES' in mk/build.mk
>     + make 2>&1 | tee <somewhere>/make.log
> 
> myrtle$ tail -f make.log
> creating libgmp.la
> (cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
> make[5]: Leaving directory `/cygdrive/c/fptools/fptools/ghc/rts/gmp'
> make[4]: Leaving directory `/cygdrive/c/fptools/fptools/ghc/rts/gmp'
> ../../ghc/compiler/ghc-inplace -optc-mno-cygwin -optc-O -optc-Wall
> -optc-W -optc-Wstrict-prototypes -optc-Wmissing-proto types
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-Wbad-function-cast -optc-I../includes -opt c-I. -optc-Iparallel
> -optc-DCOMPILING_RTS -optc-Iwin32 -optc-fomit-frame-pointer -H32m -O0
> -W -fno-warn-unused-matches - fwarn-unused-imports -O2 -static -I.
> -#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include   
> RtsUtils.h -#include StgRun.h -#include Schedule.h -#include
> Printer.h -#include Sanity.h -#include STM.h -#include Storage.h
> -#include SchedAPI.h -#include Timer.h -#include Itimer.h -#include
> ProfHeap.h -#include  
> LdvProfile.h -#include Profiling.h -#include Apply.h -fvia-C
> -dcmm-lint     -c Adjustor.c -o Adjustor.o 
> exec: c:/fptools/fptools/ghc/compiler/: not found
> make[2]: *** [Adjustor.o] Error 127
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/cygdrive/c/fptools/fptools/ghc'
> make: *** [build] Error 1
> 
> I don't have access to the files at the moment (only redirected the
> make 
> log to a machine I can see), but it looks as if ghc-inplace simply
> tries to execute a directory?

Your build has succeeded :-)

The GHC package has been built in ghc/compiler, but the build has
continued and tried to build the RTS (which isn't necessary).  In short,
you can ignore this error.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list