From: Sascha H. <sa...@xm...> - 2011-01-14 16:42:08
|
On Fri, Jan 14, 2011 at 5:36 PM, Paul Poley <bay...@gm...> wrote: > Great! The only other thing needed is to rename xmlvm.m to xmlvm.c. > That'll work until we get the garbage collector working on Windows. > That is true, and there will be a patch coming soon that will fix that as well. > > After we do, it's my preference to not do any OS specific code which > changes behavior from one system to another. Since this is temporary, > that'll work just fine. > Yes, as soon was we have a GC that works on all platforms, this code will be removed again. But for now it's definitely better than to manual remove all those random files after every compile :) > > Paul > > > > On Thu, Jan 13, 2011 at 6:22 PM, Sascha Haeberling <sa...@xm...>wrote: > >> Hi guys, >> >> until we have a GC that is running on non-Mac platforms, here is a >> temporary solution: >> >> I just submitted two changes that will automatically produce a working >> project for Windows and Unix/Linux systems. XMLVM automatically detects the >> OS and doesn't copy over the GC files, and adds the XMLVM_NO_GC flag as >> well, if you are not on a Mac. >> >> Hope that makes it a bit easier for you. >> >> // Sascha >> >> >> On Thu, Jan 13, 2011 at 11:37 PM, Markus Neubrand < >> mar...@gm...> wrote: >> >>> If you don't want to manually delete all the files from BoehmGC because >>> you plan on compiling with -DXMLVM_NO_GC it might be easier if you just >>> uncomment the following lines (103-106) in AugmentedCOutputProcess.java: >>> >>> OutputFile boehmGc = new OutputFile(BOEHM_GC_LIB); >>> boehmGc.setLocation(arguments.option_out()); >>> boehmGc.setTag(OutputFile.TAG_LIB_NAME, BOEHM_LIB_NAME); >>> outputFiles.add(boehmGc); >>> >>> Those will copy all the boemgc files over to your output dir. >>> >>> Markus >>> >>> >>> On Thu, Jan 13, 2011 at 2:33 PM, Paul Poley <bay...@gm...>wrote: >>> >>>> I gave posix a try & based on the above, I deleted any file from >>>> boehmgc.jar as well as anything starting with "org_xmlvm_iphone". That >>>> solved everything mentioned previously. Then I renamed xmlvm.m to xmlvm.c & >>>> "make" was successful. I ran my ".exe" & I got it to print out the text! I >>>> did all this on Windows 7 using Cygwin. >>>> >>>> Paul >>>> >>>> On Thu, Jan 13, 2011 at 5:48 AM, Sascha Haeberling <sa...@xm...>wrote: >>>> >>>>> We will think about a solution with the posix target. Right now it's ot >>>>> ok that it's only producing output that runs on OSX and removing a bunch of >>>>> random files manually is obviously not an end-user solution. >>>>> >>>>> We will probably disable the GC for OSX for now automatically and in >>>>> the meantime see what can be done to get the GC ported to other platforms. >>>>> >>>>> // Sascha >>>>> >>>>> On Wed, Jan 12, 2011 at 11:49 PM, Arno Puder <ar...@pu...> wrote: >>>>> >>>>>> >>>>>> you need to remove all files that are mentioned in >>>>>> xmlvm/lib/boehmgc.jar, not just the ones that start with gc_*. >>>>>> >>>>>> Regarding the number of classes: that is a problem pretty much of any >>>>>> J2SE implementation: your class inherits from java.lang.Object, that >>>>>> references java.lang.System and java.lang.Class and if you continue >>>>>> the >>>>>> transitive closure, you end up about 750 J2SE classes that need to be >>>>>> pulled in even for a Hello World program. This is overhead you have to >>>>>> accept. In return you don't need a JVM to run the application, so I >>>>>> believe this is acceptable. >>>>>> >>>>>> Arno >>>>>> >>>>>> >>>>>> On 1/12/11 2:42 PM, Leo Izen wrote: >>>>>> > I removed everything that was gc_*.h, gc_*.c, and gc.h and gc.c. >>>>>> Then I >>>>>> > edited the CFLAGS in the makefile to include -DXMLVM_NO_GC but it >>>>>> > apparently didn't get the message: >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Protect Your Site and Customers from Malware Attacks >>>>> Learn about various malware tactics and how to avoid them. Understand >>>>> malware threats, the impact they can have on your business, and how you >>>>> can protect your company and customers by using code signing. >>>>> http://p.sf.net/sfu/oracle-sfdevnl >>>>> _______________________________________________ >>>>> xmlvm-users mailing list >>>>> xml...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Protect Your Site and Customers from Malware Attacks >>>> Learn about various malware tactics and how to avoid them. Understand >>>> malware threats, the impact they can have on your business, and how you >>>> can protect your company and customers by using code signing. >>>> http://p.sf.net/sfu/oracle-sfdevnl >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>> >>>> >>> >> > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |