[Haskell-cafe] Compiling GHC
Chris Witte
cwitte at gmail.com
Fri Mar 30 02:36:32 EDT 2007
I'm tying to compile GHC under mingw (winxp with mingw no cygwin),
everything appears to go OK but when I run make install it fails to
copy some files
cp -rp ./../include/* /usr/local/include/mingw
cp: cannot stat `./../include/*': No such file or directory
make: [install] Error 1 (ignored)
cp -rp ./../lib/gcc-lib/mingw32/3.4.2/* /usr/local/gcc-lib
cp: cannot stat `./../lib/gcc-lib/mingw32/3.4.2/*': No such file or directory
make: [install] Error 1 (ignored)
cp -rp ./../lib/gcc/mingw32/3.4.2/* /usr/local/gcc-lib
cp: cannot stat `./../lib/gcc/mingw32/3.4.2/*': No such file or directory
make: [install] Error 1 (ignored)
cp -rp ./../libexec/gcc/mingw32/3.4.2/* /usr/local/gcc-lib
cp: cannot stat `./../libexec/gcc/mingw32/3.4.2/*': No such file or directory
make: [install] Error 1 (ignored)
cp ./../lib/*.* /usr/local/gcc-lib
cp: cannot stat `./../lib/*.*': No such file or directory
make: [install] Error 1 (ignored)
cp ./gcc.exe /usr/local
cp: cannot stat `./gcc.exe': No such file or directory
make: [install] Error 1 (ignored)
cp ./as.exe /usr/local/gcc-lib
cp: cannot stat `./as.exe': No such file or directory
make: [install] Error 1 (ignored)
cp ./ld.exe /usr/local/gcc-lib
cp: cannot stat `./ld.exe': No such file or directory
make: [install] Error 1 (ignored)
cp ./dllwrap.exe /usr/local/gcc-lib
cp: cannot stat `./dllwrap.exe': No such file or directory
make: [install] Error 1 (ignored)
cp ./dlltool.exe /usr/local/gcc-lib
cp: cannot stat `./dlltool.exe': No such file or directory
make: [install] Error 1 (ignored)
cp /c/ghc/ghc-6.6/bin/../perl.exe /usr/local
cp /c/ghc/ghc-6.6/bin/../perl56.dll /usr/local
for i in ANNOUNCE LICENSE README; do \
/bin/install -c -m 644 $i /usr/local; \
done
and then when I try and run, say, GHCi I get
$ ghcii.sh
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.7.20070323, for
Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... ghc.exe: unable to load package `base'
ghc.exe:
C:/msys/1.0/local/HSbase.o: unknown symbol `_gettimeofday'
any ideas on what could be causing this.
Cheers
Chris Witte
More information about the Haskell-Cafe
mailing list