At Fri, 11 Nov 2005 01:11:17 +0000, Thomas Davie wrote: > > Announcing the York Haskell Compiler - a Haskell 98 compiler with > roots in nhc98. It's not totally finished, but is getting there > quickly, and could well be of interest to Haskell developers.
Is there some trick to getting it to build ? $ make /usr/bin/make -C src/compiler98 make[1]: Entering directory `/root/projects/haskell/yhc/src/compiler98' make[1]: *** No rule to make target `LexStr.hs', needed by `../../inst/bin/yhcc'. Stop. make[1]: Leaving directory `/root/projects/haskell/yhc/src/compiler98' make: *** [compiler] Error 2 I had to make a lot of changes to the compiler98 Makefile to get it to build... ~/projects/haskell/yhc.old/src/compiler98 # darcs diff Makefile 3c3 < MergeSort.hs AssocTree.hs LexStr.hs LexLow.hs \ --- > MergeSort.hs AssocTree.hs Parse/LexStr.hs Parse/LexLow.hs \ 5,9c5,9 < Id.hs PrettyLib.hs SyntaxPos.hs ParseLex.hs \ < ParseLib.hs Parse2.hs MkSyntax.hs Syntax.hs \ < TokenId.hs LexPre.hs Lex.hs OsOnly.hs \ < SysDeps.hs HbcOnly.hs PrettySyntax.hs ParseCore.hs \ < Parse.hs Lexical.hs Error.hs Flags.hs \ --- > Id.hs PrettyLib.hs SyntaxPos.hs Parse/ParseLex.hs > \ > Parse/ParseLib.hs Parse/Parse2.hs MkSyntax.hs Syntax.hs > \ > TokenId.hs Parse/LexPre.hs Parse/Lex.hs OsOnly.hs > \ > SysDeps.hs HbcOnly.hs PrettySyntax.hs Parse/ParseCore.hs > \ > Parse/Parse.hs Parse/Lexical.hs Error.hs Flags.hs > \ 14c14 < Bind.hs Rename.hs ParseI.hs Import.hs \ --- > Bind.hs Rename.hs Parse/ParseI.hs Import.hs \ 19,24c19,24 < TypeData.hs TypeSubst.hs TypeUtil.hs TypeEnv.hs \ < TypeUnify.hs TypeLib.hs TypeCtx.hs Extract.hs \ < Remove1_3.hs Type.hs SccModule.hs RmClasses.hs \ < DeriveLib.hs DeriveBinary.hs DeriveBounded.hs \ < DeriveIx.hs DeriveEnum.hs DeriveRead.hs DeriveShow.hs \ < DeriveOrd.hs DeriveEq.hs Derive.hs FFITrans.hs \ --- > Type/Data.hs Type/Subst.hs Type/Util.hs Type/Env.hs \ > Type/Unify.hs Type/Lib.hs Type/Ctx.hs Extract.hs \ > Remove1_3.hs Type/Type.hs SccModule.hs RmClasses.hs > \ > Derive/Lib.hs Derive/Binary.hs Derive/Bounded.hs > \ > Derive/Ix.hs Derive/Enum.hs Derive/Read.hs Derive/Show.hs \ > Derive/Ord.hs Derive/Eq.hs Derive/Derive.hs FFITrans.hs > \ 26,28c26,28 < BCWrap.hs BCPeep.hs BCRelative.hs BCGraph.hs \ < BCFlatten.hs BCAnalysis.hs BCShow.hs BCCompile2.hs \ < BCode.hs BCWrite.hs Depend.hs StateMonad.hs --- > ByteCode/Wrap.hs ByteCode/Peep.hs ByteCode/Relative.hs > ByteCode/Graph.hs \ > ByteCode/Flatten.hs ByteCode/Analysis.hs ByteCode/Show.hs > \ > ByteCode/Write.hs Depend.hs StateMonad.hs 45,46c45 < < --- > j. _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell