Hello, Here's a tiny patch to the VMKIT tools makefile, that allows you to build VMKIT without both Java and CLI. I'm working on a new bytecode front end so wanted a 'clean' mvm without building to two existing front ends. Currently it still tries to build VMJC even when its told not to build the JNJVM. This patch fixes that. Index: tools/Makefile ==================================================================--- tools/Makefile (revision 59726) +++ tools/Makefile (working copy) @@ -8,11 +8,12 @@ ##= = =---------------------------------------------------------------------- ===## LEVEL = .. -PARALLEL_DIRS = vmkit vmjc +PARALLEL_DIRS = vmkit include $(LEVEL)/Makefile.config ifeq ($(WITH_JNJVM), 1) + PARALLEL_DIRS += vmjc PARALLEL_DIRS += jnjvm endif Bye, Deano
Hi Dean, Applies thanks! Out of curiosity, which part of mvm are you using? I guess the GC? Nicolas Dean Calver wrote:> Hello, > > Here's a tiny patch to the VMKIT tools makefile, that allows you to > build VMKIT without both Java and CLI. I'm working on a new bytecode > front end so wanted a 'clean' mvm without building to two existing > front ends. Currently it still tries to build VMJC even when its told > not to build the JNJVM. This patch fixes that. > > > Index: tools/Makefile > ==================================================================> --- tools/Makefile (revision 59726) > +++ tools/Makefile (working copy) > @@ -8,11 +8,12 @@ > > ##= > = > =---------------------------------------------------------------------- > ===## > LEVEL = .. > > -PARALLEL_DIRS = vmkit vmjc > +PARALLEL_DIRS = vmkit > > include $(LEVEL)/Makefile.config > > ifeq ($(WITH_JNJVM), 1) > + PARALLEL_DIRS += vmjc > PARALLEL_DIRS += jnjvm > endif > > Bye, > Deano > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Hi Nicolas, I'm building an ActionScript to native code compiler, and so basing on it on VMKIT seemed the best idea. The MVM already has garbage collectors, lots of infrastructure and the other two front end implementation as inspiration. There is a massive amount of useful work in VMKIT to build on, so seemed the best place to start :) Thanks, Deano On 20 Nov 2008, at 12:34, Nicolas Geoffray wrote:> Hi Dean, > > Applies thanks! > > Out of curiosity, which part of mvm are you using? I guess the GC? > > Nicolas > > Dean Calver wrote: >> Hello, >> >> Here's a tiny patch to the VMKIT tools makefile, that allows you to >> build VMKIT without both Java and CLI. I'm working on a new bytecode >> front end so wanted a 'clean' mvm without building to two existing >> front ends. Currently it still tries to build VMJC even when its told >> not to build the JNJVM. This patch fixes that. >> >> >> Index: tools/Makefile >> ==================================================================>> --- tools/Makefile (revision 59726) >> +++ tools/Makefile (working copy) >> @@ -8,11 +8,12 @@ >> >> ##>> >> = >> ---------------------------------------------------------------------- >> ===## >> LEVEL = .. >> >> -PARALLEL_DIRS = vmkit vmjc >> +PARALLEL_DIRS = vmkit >> >> include $(LEVEL)/Makefile.config >> >> ifeq ($(WITH_JNJVM), 1) >> + PARALLEL_DIRS += vmjc >> PARALLEL_DIRS += jnjvm >> endif >> >> Bye, >> Deano >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev