logo       

RE: problems building the GHC as a package: msg#00035

lang.haskell.glasgow.bugs

Subject: RE: problems building the GHC as a package


> You don't need to build the RTS when building GHC as a package. If you
> want to do this, you have to remove BuildPackageGHC=YES from build.mk,
> build the compiler, RTS and libraries, and then add BuildPackageGHC=YES
> again. But I don't think you need to do this; just build the compiler
> in ghc/compiler.
>

The sugestion above worked! Thanks :) But when I'm trying to do a
make-install-package, I get the following other error:

-------------------------------------------------------------------
$ make install-inplace-pkg
/cygdrive/c/ghc/ghc-6.2.1/bin/ghc-pkg --force --update-package
<package.conf.inplace
Reading package info from stdin...
Fail: Couldn't parse package configuration.
make: *** [install-inplace-pkg] Error 1
-------------------------------------------------------------------

I'm wondering if it has anything wrong with my 'package.conf.inplace'.
It's look nice...

any sugestions?

-----------------------------------------------------------------------------------------
Package {
name = "ghc",
auto = False,

import_dirs = [
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/utils",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/basicTypes",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/types",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/hsSyn",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/prelude",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/rename",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/typecheck",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/deSugar",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/coreSyn",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/specialise",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/simplCore",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/stranal",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/stgSyn",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/simplStg",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/codeGen",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/absCSyn",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/main",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/profiling",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/parser",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/cprAnalysis",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/compMan",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/ndpFlatten",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/cbits",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/iface",
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler/stage1/nativeGen"
],

source_dirs = [],
library_dirs = [
"C:/haskell/cygwin/home/legionario_k/fptools/ghc/compiler" ],
hs_libraries = [ "HSghc" ],
extra_libraries = [],
c_includes = [],
package_deps = [ "base", "haskell98", ],
extra_ghc_opts = [],
extra_cc_opts = [],
extra_ld_opts = []
}
------------------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise