On Thu, Nov 12, 2009 at 09:43:42AM +, Simon Marlow wrote:
> >Would it be ok to move the -I$(GHC_INCLUDE_DIR) portion to ghc/ghc.mk?
> >
> >For example, add this one to the BootingFromHC section of ghc/ghc.mk:
> >
> > ghc_CC_OPTS += -I$(GHC_INCLUDE_DIR)
>
> I take it back, I think I underst
On Thu, Nov 12, 2009 at 03:24:32PM +, Simon Marlow wrote:
> On 08/11/2009 18:18, Matthias Kilian wrote:
> >Sun Nov 8 12:02:25 CET 2009 Matthias Kilian
> > * When booting from HC files, search includes for headers
>
> I just committed a version of this. I believe th
On 08/11/2009 18:18, Matthias Kilian wrote:
Sun Nov 8 12:02:25 CET 2009 Matthias Kilian
* When booting from HC files, search includes for headers
I just committed a version of this. I believe that's all your patches
in now, right?
Cheers,
On 11/11/2009 23:02, Matthias Kilian wrote:
On Mon, Nov 09, 2009 at 10:53:18AM +, Simon Marlow wrote:
ifeq "$(BootingFromHc)" "YES"
-SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER
-D__GLASGOW_HASKELL__=$(ProjectVersionInt)
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -DNO_REGS -DUSE_MINIINTERPRET
On Mon, Nov 09, 2009 at 10:53:18AM +, Simon Marlow wrote:
> ifeq "$(BootingFromHc)" "YES"
> -SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER
> -D__GLASGOW_HASKELL__=$(ProjectVersionInt)
> +SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -DNO_REGS -DUSE_MINIINTERPRETER
> -D__GLASGOW_HASKELL__=$(ProjectVer
s one (I think you already said it's ok):
Sun Nov 8 20:01:39 CET 2009 Matthias Kilian
* Don't try to rebuild compiler/primop-*.hs-incl when BootingFromHc
And this one (or rather a cleaner replacement of it, since probably only
hschooks.c is affected):
Sun Nov 8 12:02:25 CET 2009 Ma
On 09/11/2009 20:50, Matthias Kilian wrote:
On Mon, Nov 09, 2009 at 08:29:25PM +0100, Matthias Kilian wrote:
The rules in hs-suffix-rules-srcdir.mk didn't get pulled in by
rts/ghc.mk. I'll retry with adding hs-suffix-rules-srcdir to it.
With the attached patch, a normal build and a build boots
On Mon, Nov 09, 2009 at 08:29:25PM +0100, Matthias Kilian wrote:
> The rules in hs-suffix-rules-srcdir.mk didn't get pulled in by
> rts/ghc.mk. I'll retry with adding hs-suffix-rules-srcdir to it.
With the attached patch, a normal build and a build bootstrapping
from hc files are happy[1].
Ciao,
On Mon, Nov 09, 2009 at 10:58:24AM +, Simon Marlow wrote:
> [Some rules for booting from hc files
> Matthias Kilian **20091108110827
> Ignore-this: bf6a3f7db25010b2de013f98377cbd92
> ] hunk ./rules/cmm-suffix-rules.mk 51
>
> endif
>
> +## For booting from .
On Mon, Nov 09, 2009 at 10:58:24AM +, Simon Marlow wrote:
>
> On 08/11/2009 18:30, Matthias Kilian wrote:
> endif
>
> +## For booting from .hc files.
> +$1/$2/build/%.$$($3_osuf) : $1/%.hc
> + "$$(MKDIRHIER)" $$(dir $$@)
> + "$$(CC)"
On Mon, Nov 09, 2009 at 10:53:18AM +, Simon Marlow wrote:
> >Sun Nov 8 12:02:25 CET 2009 Matthias Kilian
> > * When booting from HC files, search includes for headers
>
> ifeq "$(BootingFromHc)" "YES"
> -SRC_CC_OPTS += -DNO_REGS -DUSE
On 08/11/2009 18:30, Matthias Kilian wrote:
Sun Nov 8 12:08:27 CET 2009 Matthias Kilian
* Some rules for booting from hc files
[Some rules for booting from hc files
Matthias Kilian **20091108110827
Ignore-this: bf6a3f7db25010b2de013f98377cbd92
] hunk ./rules/cmm-suffix-rules.mk 51
On 08/11/2009 18:18, Matthias Kilian wrote:
Sun Nov 8 12:02:25 CET 2009 Matthias Kilian
* When booting from HC files, search includes for headers
ifeq "$(BootingFromHc)" "YES"
-SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER
-D__GLASGOW_HASKELL__=$(ProjectVersionInt
Sun Nov 8 12:08:27 CET 2009 Matthias Kilian
* Some rules for booting from hc files
New patches:
[Some rules for booting from hc files
Matthias Kilian **20091108110827
Ignore-this: bf6a3f7db25010b2de013f98377cbd92
] hunk ./rules/cmm-suffix-rules.mk 51
endif
+## For booting from .hc
Sun Nov 8 12:02:25 CET 2009 Matthias Kilian
* When booting from HC files, search includes for headers
New patches:
[When booting from HC files, search includes for headers
Matthias Kilian **20091108110225
Ignore-this: 97b69c0fe499f8c1cbbd8cbf92589e11
] hunk ./ghc.mk 1041
endif
ifeq
On Tue, Feb 05, 2008 at 09:30:39AM +, Simon Marlow wrote:
> If using the generated Makefiles is too hard for bootstrapping, then by
> all means build an alternative solution using hand-written Makefiles or
> whatever.
Ok, sounds like a plan.
> >- I need a simple way to get transitive inter-
Matthias Kilian wrote:
I'm currently trying to bring back HC bootstrapping, and I'd some
kind of success, but only with really horrible hacks on
libraries/Makefile.local, the Cabal Makefile template, some bits
in mk, and libraries/Makefile itself. FYI the current state is that the
HC build start
Hi,
I'm currently trying to bring back HC bootstrapping, and I'd some
kind of success, but only with really horrible hacks on
libraries/Makefile.local, the Cabal Makefile template, some bits
in mk, and libraries/Makefile itself. FYI the current state is that the
HC build starts well for base, old-
18 matches
Mail list logo