From: Christoffer K. <chr...@ya...> - 2011-03-17 14:04:43
|
Hi all.When i try to run an android program with the command "ant use-Xcode run" i get "BUILD FAILED" with this output: -do-compile:[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/androidsupport.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds[xmlvm.ajavac] Compiling 2 source files to /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/bin/classes[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/src/big8/wifi/DeviceListActivity.java:65: cannot find symbol[xmlvm.ajavac] symbol : variable layout[xmlvm.ajavac] location: class android.R[xmlvm.ajavac] android.R.layout.simple_list_item_1,[xmlvm.ajavac] ^[xmlvm.ajavac] /Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/src/big8/wifi/DeviceListActivity.java:101: cannot find symbol[xmlvm.ajavac] symbol : variable layout[xmlvm.ajavac] location: class android.R[xmlvm.ajavac] android.R.layout.simple_list_item_1,[xmlvm.ajavac] ^[xmlvm.ajavac] 2 errors BUILD FAILED/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/xcode.xml:179: The following error occurred while executing this line:/Users/ProMonger/xmlvm/trunk/xmlvm/demo/android/dev-project-http/nbproject/androidsupport.xml:81: Compile failed; see the compiler error output for details.Does anybody know how i can fix this or at least bypass it? So far, thank you for all your help.Kind regards Christoffer |
From: Sal <sv...@gm...> - 2011-03-18 06:44:06
|
What are the steps to get a simple 'hello world' iPhone app up and running from the latest SVN snapshot? Possibly with the Harmony support included? (printing to standard out is fine, I understand ui is underway). I read through the manual, but the c target didn't seem mentioned... Maybe I missed it, if so apologies - if there are docs I'll try those. I tried (quickly) a svn download and running the ant scripts but lots of errors with JDK classes missing, etc. I was wondering what the 'proper' way was to hack through it before I started debugging. If it works I would be happy to put together a wiki page on it, possibly put binaries someplace for other newbies to use as well to help with getting Java apps compiled on iOS. Thanks in advance, Sal |
From: opwoco G. <in...@op...> - 2011-03-18 06:50:50
|
Hi sal, send a piece of the command line output to see what's happen.. to run one of the demo projects take a look the Documentation at xmlvm.org: directlink: https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> 2011/3/18 Sal <sv...@gm...> > > What are the steps to get a simple 'hello world' iPhone app up and running > from the latest SVN snapshot? Possibly with the Harmony support included? > (printing to standard out is fine, I understand ui is underway). > > I read through the manual, but the c target didn't seem mentioned... Maybe > I missed it, if so apologies - if there are docs I'll try those. > > I tried (quickly) a svn download and running the ant scripts but lots of > errors with JDK classes missing, etc. I was wondering what the 'proper' way > was to hack through it before I started debugging. > > If it works I would be happy to put together a wiki page on it, possibly > put binaries someplace for other newbies to use as well to help with getting > Java apps compiled on iOS. > > Thanks in advance, > > Sal > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sal <sv...@gm...> - 2011-03-18 07:06:15
|
Thanks for the link! However I don't see mention of the 'C' target or Harmony support - is this all handled by one of the generic targets? Or has to be configured explicitly at the command line when building? I do see mention of the objc and c++ things. Thanks again for the help, I will shortly attempt a fresh checkout and build of the codebase. On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op...> wrote: > Hi sal, > > send a piece of the command line output to see what's happen.. > > > to run one of the demo projects take a look the Documentation at xmlvm.org: > directlink: https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project > > > 2011/3/18 Sal <sv...@gm...> > > What are the steps to get a simple 'hello world' iPhone app up and running from the latest SVN snapshot? Possibly with the Harmony support included? (printing to standard out is fine, I understand ui is underway). > > I read through the manual, but the c target didn't seem mentioned... Maybe I missed it, if so apologies - if there are docs I'll try those. > > I tried (quickly) a svn download and running the ant scripts but lots of errors with JDK classes missing, etc. I was wondering what the 'proper' way was to hack through it before I started debugging. > > If it works I would be happy to put together a wiki page on it, possibly put binaries someplace for other newbies to use as well to help with getting Java apps compiled on iOS. > > Thanks in advance, > > Sal > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2011-03-18 07:09:52
|
the default targets are still using the Objective-C backend (what is described in the documentation). The C backend is still work-in-progress. Do a grep on this mailing list and you will find some posts that explain how to cross-compile iFireworks using the C backend. We are making good progress on the C backend but it will take some more time to make the switch. I will send an update sometime soon. Arno On 3/18/11 12:06 AM, Sal wrote: > Thanks for the link! > > However I don't see mention of the 'C' target or Harmony support - is > this all handled by one of the generic targets? Or has to be configured > explicitly at the command line when building? I do see mention of the > objc and c++ things. > > Thanks again for the help, I will shortly attempt a fresh checkout and > build of the codebase. > > On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... > <mailto:in...@op...>> wrote: > >> Hi sal, >> >> send a piece of the command line output to see what's happen.. >> >> >> to run one of the demo projects take a look the Documentation at >> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >> directlink: >> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >> >> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >> <mailto:sv...@gm...>> >> >> >> What are the steps to get a simple 'hello world' iPhone app up and >> running from the latest SVN snapshot? Possibly with the Harmony >> support included? (printing to standard out is fine, I understand >> ui is underway). >> >> I read through the manual, but the c target didn't seem >> mentioned... Maybe I missed it, if so apologies - if there are >> docs I'll try those. >> >> I tried (quickly) a svn download and running the ant scripts but >> lots of errors with JDK classes missing, etc. I was wondering what >> the 'proper' way was to hack through it before I started debugging. >> >> If it works I would be happy to put together a wiki page on it, >> possibly put binaries someplace for other newbies to use as well >> to help with getting Java apps compiled on iOS. >> >> Thanks in advance, >> >> Sal >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> xmlvm-users mailing list >> <mailto:xml...@li...>xml...@li... >> <mailto:xml...@li...> >> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sal <sv...@gm...> - 2011-03-18 07:16:38
|
I'll begin the search for those posts, then - thanks much for the tip, Arno. Potentially if I get it to work I'd like to help make it automated - possibly add some Ant logic to take care of the things needed? Just to make it easier to stay in sync with all the great, exciting work you guys are doing here. Let me know any thoughts on this, Thanks again for all the help, - Sal On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: > > the default targets are still using the Objective-C backend (what is > described in the documentation). The C backend is still > work-in-progress. Do a grep on this mailing list and you will find some > posts that explain how to cross-compile iFireworks using the C backend. > > We are making good progress on the C backend but it will take some more > time to make the switch. I will send an update sometime soon. > > Arno > > > On 3/18/11 12:06 AM, Sal wrote: >> Thanks for the link! >> >> However I don't see mention of the 'C' target or Harmony support - is >> this all handled by one of the generic targets? Or has to be configured >> explicitly at the command line when building? I do see mention of the >> objc and c++ things. >> >> Thanks again for the help, I will shortly attempt a fresh checkout and >> build of the codebase. >> >> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >> <mailto:in...@op...>> wrote: >> >>> Hi sal, >>> >>> send a piece of the command line output to see what's happen.. >>> >>> >>> to run one of the demo projects take a look the Documentation at >>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>> directlink: >>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>> >>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>> <mailto:sv...@gm...>> >>> >>> >>> What are the steps to get a simple 'hello world' iPhone app up and >>> running from the latest SVN snapshot? Possibly with the Harmony >>> support included? (printing to standard out is fine, I understand >>> ui is underway). >>> >>> I read through the manual, but the c target didn't seem >>> mentioned... Maybe I missed it, if so apologies - if there are >>> docs I'll try those. >>> >>> I tried (quickly) a svn download and running the ant scripts but >>> lots of errors with JDK classes missing, etc. I was wondering what >>> the 'proper' way was to hack through it before I started debugging. >>> >>> If it works I would be happy to put together a wiki page on it, >>> possibly put binaries someplace for other newbies to use as well >>> to help with getting Java apps compiled on iOS. >>> >>> Thanks in advance, >>> >>> Sal >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>> _______________________________________________ >>> xmlvm-users mailing list >>> <mailto:xml...@li...>xml...@li... >>> <mailto:xml...@li...> >>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> >> >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sal <sv...@gm...> - 2011-03-21 15:20:37
|
Arno - Currently getting an error from a fresh SVN checkout. Using 'make' after the command: java -Xmx700m -jar dist/xmlvm.jar --target=posix --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o build/obj/java_lang_Obj ect.o ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such file or directory ../src/java_lang_Object.c:35: error: `__CLASS_java_lang_Object_AddedMembers' und eclared here (not in a function) ../src/java_lang_Object.c:35: error: initializer element is not constant ../src/java_lang_Object.c:35: error: (near initialization for `__field_reflectio n_data[1].type') ../src/java_lang_Object.c:40: error: initializer element is not constant ../src/java_lang_Object.c:40: error: (near initialization for `__field_reflectio n_data[1]') make: *** [build/obj/java_lang_Object.o] Error 1 On 3/18/11, Sal <sv...@gm...> wrote: > I'll begin the search for those posts, then - thanks much for the tip, Arno. > > Potentially if I get it to work I'd like to help make it automated - > possibly add some Ant logic to take care of the things needed? Just to make > it easier to stay in sync with all the great, exciting work you guys are > doing here. Let me know any thoughts on this, > > Thanks again for all the help, > > - Sal > > On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: > >> >> the default targets are still using the Objective-C backend (what is >> described in the documentation). The C backend is still >> work-in-progress. Do a grep on this mailing list and you will find some >> posts that explain how to cross-compile iFireworks using the C backend. >> >> We are making good progress on the C backend but it will take some more >> time to make the switch. I will send an update sometime soon. >> >> Arno >> >> >> On 3/18/11 12:06 AM, Sal wrote: >>> Thanks for the link! >>> >>> However I don't see mention of the 'C' target or Harmony support - is >>> this all handled by one of the generic targets? Or has to be configured >>> explicitly at the command line when building? I do see mention of the >>> objc and c++ things. >>> >>> Thanks again for the help, I will shortly attempt a fresh checkout and >>> build of the codebase. >>> >>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>> <mailto:in...@op...>> wrote: >>> >>>> Hi sal, >>>> >>>> send a piece of the command line output to see what's happen.. >>>> >>>> >>>> to run one of the demo projects take a look the Documentation at >>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>> directlink: >>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>> >>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>> <mailto:sv...@gm...>> >>>> >>>> >>>> What are the steps to get a simple 'hello world' iPhone app up and >>>> running from the latest SVN snapshot? Possibly with the Harmony >>>> support included? (printing to standard out is fine, I understand >>>> ui is underway). >>>> >>>> I read through the manual, but the c target didn't seem >>>> mentioned... Maybe I missed it, if so apologies - if there are >>>> docs I'll try those. >>>> >>>> I tried (quickly) a svn download and running the ant scripts but >>>> lots of errors with JDK classes missing, etc. I was wondering what >>>> the 'proper' way was to hack through it before I started debugging. >>>> >>>> If it works I would be happy to put together a wiki page on it, >>>> possibly put binaries someplace for other newbies to use as well >>>> to help with getting Java apps compiled on iOS. >>>> >>>> Thanks in advance, >>>> >>>> Sal >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> >>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> >>>> <mailto:xml...@li...>xml...@li... >>>> <mailto:xml...@li...> >>>> >>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> >>> >>> >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2011-03-21 16:35:44
|
Can you please try "ant clean" and re-build XMLVM? Arno On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: > Arno - > > Currently getting an error from a fresh SVN checkout. Using 'make' > after the command: > > java -Xmx700m -jar dist/xmlvm.jar --target=posix > --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest > > gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o build/obj/java_lang_Obj > ect.o > ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such file or > directory > ../src/java_lang_Object.c:35: error: `__CLASS_java_lang_Object_AddedMembers' und > eclared here (not in a function) > ../src/java_lang_Object.c:35: error: initializer element is not constant > ../src/java_lang_Object.c:35: error: (near initialization for `__field_reflectio > n_data[1].type') > ../src/java_lang_Object.c:40: error: initializer element is not constant > ../src/java_lang_Object.c:40: error: (near initialization for `__field_reflectio > n_data[1]') > make: *** [build/obj/java_lang_Object.o] Error 1 > > On 3/18/11, Sal <sv...@gm...> wrote: >> I'll begin the search for those posts, then - thanks much for the tip, Arno. >> >> Potentially if I get it to work I'd like to help make it automated - >> possibly add some Ant logic to take care of the things needed? Just to make >> it easier to stay in sync with all the great, exciting work you guys are >> doing here. Let me know any thoughts on this, >> >> Thanks again for all the help, >> >> - Sal >> >> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: >> >>> >>> the default targets are still using the Objective-C backend (what is >>> described in the documentation). The C backend is still >>> work-in-progress. Do a grep on this mailing list and you will find some >>> posts that explain how to cross-compile iFireworks using the C backend. >>> >>> We are making good progress on the C backend but it will take some more >>> time to make the switch. I will send an update sometime soon. >>> >>> Arno >>> >>> >>> On 3/18/11 12:06 AM, Sal wrote: >>>> Thanks for the link! >>>> >>>> However I don't see mention of the 'C' target or Harmony support - is >>>> this all handled by one of the generic targets? Or has to be configured >>>> explicitly at the command line when building? I do see mention of the >>>> objc and c++ things. >>>> >>>> Thanks again for the help, I will shortly attempt a fresh checkout and >>>> build of the codebase. >>>> >>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>>> <mailto:in...@op...>> wrote: >>>> >>>>> Hi sal, >>>>> >>>>> send a piece of the command line output to see what's happen.. >>>>> >>>>> >>>>> to run one of the demo projects take a look the Documentation at >>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>>> directlink: >>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>>> >>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>>> <mailto:sv...@gm...>> >>>>> >>>>> >>>>> What are the steps to get a simple 'hello world' iPhone app up and >>>>> running from the latest SVN snapshot? Possibly with the Harmony >>>>> support included? (printing to standard out is fine, I understand >>>>> ui is underway). >>>>> >>>>> I read through the manual, but the c target didn't seem >>>>> mentioned... Maybe I missed it, if so apologies - if there are >>>>> docs I'll try those. >>>>> >>>>> I tried (quickly) a svn download and running the ant scripts but >>>>> lots of errors with JDK classes missing, etc. I was wondering what >>>>> the 'proper' way was to hack through it before I started debugging. >>>>> >>>>> If it works I would be happy to put together a wiki page on it, >>>>> possibly put binaries someplace for other newbies to use as well >>>>> to help with getting Java apps compiled on iOS. >>>>> >>>>> Thanks in advance, >>>>> >>>>> Sal >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Colocation vs. Managed Hosting >>>>> A question and answer guide to determining the best fit >>>>> for your organization - today and in the future. >>>>> >>>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>>> _______________________________________________ >>>>> xmlvm-users mailing list >>>>> >>>>> <mailto:xml...@li...>xml...@li... >>>>> <mailto:xml...@li...> >>>>> >>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>>> >>>> >>>> >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> |
From: Sal <sv...@gm...> - 2011-03-21 16:34:56
|
My fault. Eclipse errors due to my coniguration, I rebuilt, that error was resolved. Now: gcc -w -std=c99 -I../src -c ../src/mark.c -o build/obj/mark.o ../src/mark.c: In function `GC_mark_some': ../src/mark.c:544: error: `asm' undeclared (first use in this function) ../src/mark.c:544: error: (Each undeclared identifier is reported only once ../src/mark.c:544: error: for each function it appears in.) ../src/mark.c:544: error: syntax error before "volatile" ../src/mark.c:553: error: syntax error before "volatile" make: *** [build/obj/mark.o] Error 1 I am using mingw32 - trying to compile the Posix target - should this be usable yet? On 3/21/11, Arno Puder <ar...@pu...> wrote: > Can you please try "ant clean" and re-build XMLVM? > > Arno > > On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: > >> Arno - >> >> Currently getting an error from a fresh SVN checkout. Using 'make' >> after the command: >> >> java -Xmx700m -jar dist/xmlvm.jar --target=posix >> --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest >> >> gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o >> build/obj/java_lang_Obj >> ect.o >> ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such >> file or >> directory >> ../src/java_lang_Object.c:35: error: >> `__CLASS_java_lang_Object_AddedMembers' und >> eclared here (not in a function) >> ../src/java_lang_Object.c:35: error: initializer element is not constant >> ../src/java_lang_Object.c:35: error: (near initialization for >> `__field_reflectio >> n_data[1].type') >> ../src/java_lang_Object.c:40: error: initializer element is not constant >> ../src/java_lang_Object.c:40: error: (near initialization for >> `__field_reflectio >> n_data[1]') >> make: *** [build/obj/java_lang_Object.o] Error 1 >> >> On 3/18/11, Sal <sv...@gm...> wrote: >>> I'll begin the search for those posts, then - thanks much for the tip, >>> Arno. >>> >>> Potentially if I get it to work I'd like to help make it automated - >>> possibly add some Ant logic to take care of the things needed? Just to >>> make >>> it easier to stay in sync with all the great, exciting work you guys are >>> doing here. Let me know any thoughts on this, >>> >>> Thanks again for all the help, >>> >>> - Sal >>> >>> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: >>> >>>> >>>> the default targets are still using the Objective-C backend (what is >>>> described in the documentation). The C backend is still >>>> work-in-progress. Do a grep on this mailing list and you will find some >>>> posts that explain how to cross-compile iFireworks using the C backend. >>>> >>>> We are making good progress on the C backend but it will take some more >>>> time to make the switch. I will send an update sometime soon. >>>> >>>> Arno >>>> >>>> >>>> On 3/18/11 12:06 AM, Sal wrote: >>>>> Thanks for the link! >>>>> >>>>> However I don't see mention of the 'C' target or Harmony support - is >>>>> this all handled by one of the generic targets? Or has to be configured >>>>> explicitly at the command line when building? I do see mention of the >>>>> objc and c++ things. >>>>> >>>>> Thanks again for the help, I will shortly attempt a fresh checkout and >>>>> build of the codebase. >>>>> >>>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>>>> <mailto:in...@op...>> wrote: >>>>> >>>>>> Hi sal, >>>>>> >>>>>> send a piece of the command line output to see what's happen.. >>>>>> >>>>>> >>>>>> to run one of the demo projects take a look the Documentation at >>>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>>>> directlink: >>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>>>> >>>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>>>> <mailto:sv...@gm...>> >>>>>> >>>>>> >>>>>> What are the steps to get a simple 'hello world' iPhone app up and >>>>>> running from the latest SVN snapshot? Possibly with the Harmony >>>>>> support included? (printing to standard out is fine, I understand >>>>>> ui is underway). >>>>>> >>>>>> I read through the manual, but the c target didn't seem >>>>>> mentioned... Maybe I missed it, if so apologies - if there are >>>>>> docs I'll try those. >>>>>> >>>>>> I tried (quickly) a svn download and running the ant scripts but >>>>>> lots of errors with JDK classes missing, etc. I was wondering what >>>>>> the 'proper' way was to hack through it before I started debugging. >>>>>> >>>>>> If it works I would be happy to put together a wiki page on it, >>>>>> possibly put binaries someplace for other newbies to use as well >>>>>> to help with getting Java apps compiled on iOS. >>>>>> >>>>>> Thanks in advance, >>>>>> >>>>>> Sal >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Colocation vs. Managed Hosting >>>>>> A question and answer guide to determining the best fit >>>>>> for your organization - today and in the future. >>>>>> >>>>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>>>> _______________________________________________ >>>>>> xmlvm-users mailing list >>>>>> >>>>>> <mailto:xml...@li...>xml...@li... >>>>>> <mailto:xml...@li...> >>>>>> >>>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Colocation vs. Managed Hosting >>>>> A question and answer guide to determining the best fit >>>>> for your organization - today and in the future. >>>>> http://p.sf.net/sfu/internap-sfd2d >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> xmlvm-users mailing list >>>>> xml...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>>> _______________________________________________ >>>> xmlvm-users mailing list >>>> xml...@li... >>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>> > |
From: Arno P. <ar...@pu...> - 2011-03-21 16:49:54
|
The version of Boehm GC that is bundled with XMLVM is specifically for iOS and shouldn't be used for other platforms. I had meant to change the Makefile for Posix platforms to rely on an external installation of Boehm GC for the respective platform. I will do that soon. Arno On Mar 21, 2011, at 9:34 AM, Sal <sv...@gm...> wrote: > My fault. Eclipse errors due to my coniguration, I rebuilt, that > error was resolved. > > Now: > > gcc -w -std=c99 -I../src -c ../src/mark.c -o build/obj/mark.o > ../src/mark.c: In function `GC_mark_some': > ../src/mark.c:544: error: `asm' undeclared (first use in this function) > ../src/mark.c:544: error: (Each undeclared identifier is reported only once > ../src/mark.c:544: error: for each function it appears in.) > ../src/mark.c:544: error: syntax error before "volatile" > ../src/mark.c:553: error: syntax error before "volatile" > make: *** [build/obj/mark.o] Error 1 > > I am using mingw32 - trying to compile the Posix target - should this > be usable yet? > > On 3/21/11, Arno Puder <ar...@pu...> wrote: >> Can you please try "ant clean" and re-build XMLVM? >> >> Arno >> >> On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: >> >>> Arno - >>> >>> Currently getting an error from a fresh SVN checkout. Using 'make' >>> after the command: >>> >>> java -Xmx700m -jar dist/xmlvm.jar --target=posix >>> --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest >>> >>> gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o >>> build/obj/java_lang_Obj >>> ect.o >>> ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such >>> file or >>> directory >>> ../src/java_lang_Object.c:35: error: >>> `__CLASS_java_lang_Object_AddedMembers' und >>> eclared here (not in a function) >>> ../src/java_lang_Object.c:35: error: initializer element is not constant >>> ../src/java_lang_Object.c:35: error: (near initialization for >>> `__field_reflectio >>> n_data[1].type') >>> ../src/java_lang_Object.c:40: error: initializer element is not constant >>> ../src/java_lang_Object.c:40: error: (near initialization for >>> `__field_reflectio >>> n_data[1]') >>> make: *** [build/obj/java_lang_Object.o] Error 1 >>> >>> On 3/18/11, Sal <sv...@gm...> wrote: >>>> I'll begin the search for those posts, then - thanks much for the tip, >>>> Arno. >>>> >>>> Potentially if I get it to work I'd like to help make it automated - >>>> possibly add some Ant logic to take care of the things needed? Just to >>>> make >>>> it easier to stay in sync with all the great, exciting work you guys are >>>> doing here. Let me know any thoughts on this, >>>> >>>> Thanks again for all the help, >>>> >>>> - Sal >>>> >>>> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: >>>> >>>>> >>>>> the default targets are still using the Objective-C backend (what is >>>>> described in the documentation). The C backend is still >>>>> work-in-progress. Do a grep on this mailing list and you will find some >>>>> posts that explain how to cross-compile iFireworks using the C backend. >>>>> >>>>> We are making good progress on the C backend but it will take some more >>>>> time to make the switch. I will send an update sometime soon. >>>>> >>>>> Arno >>>>> >>>>> >>>>> On 3/18/11 12:06 AM, Sal wrote: >>>>>> Thanks for the link! >>>>>> >>>>>> However I don't see mention of the 'C' target or Harmony support - is >>>>>> this all handled by one of the generic targets? Or has to be configured >>>>>> explicitly at the command line when building? I do see mention of the >>>>>> objc and c++ things. >>>>>> >>>>>> Thanks again for the help, I will shortly attempt a fresh checkout and >>>>>> build of the codebase. >>>>>> >>>>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>>>>> <mailto:in...@op...>> wrote: >>>>>> >>>>>>> Hi sal, >>>>>>> >>>>>>> send a piece of the command line output to see what's happen.. >>>>>>> >>>>>>> >>>>>>> to run one of the demo projects take a look the Documentation at >>>>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>>>>> directlink: >>>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>>>>> >>>>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>>>>> <mailto:sv...@gm...>> >>>>>>> >>>>>>> >>>>>>> What are the steps to get a simple 'hello world' iPhone app up and >>>>>>> running from the latest SVN snapshot? Possibly with the Harmony >>>>>>> support included? (printing to standard out is fine, I understand >>>>>>> ui is underway). >>>>>>> >>>>>>> I read through the manual, but the c target didn't seem >>>>>>> mentioned... Maybe I missed it, if so apologies - if there are >>>>>>> docs I'll try those. >>>>>>> >>>>>>> I tried (quickly) a svn download and running the ant scripts but >>>>>>> lots of errors with JDK classes missing, etc. I was wondering what >>>>>>> the 'proper' way was to hack through it before I started debugging. >>>>>>> >>>>>>> If it works I would be happy to put together a wiki page on it, >>>>>>> possibly put binaries someplace for other newbies to use as well >>>>>>> to help with getting Java apps compiled on iOS. >>>>>>> >>>>>>> Thanks in advance, >>>>>>> >>>>>>> Sal >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Colocation vs. Managed Hosting >>>>>>> A question and answer guide to determining the best fit >>>>>>> for your organization - today and in the future. >>>>>>> >>>>>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>>>>> _______________________________________________ >>>>>>> xmlvm-users mailing list >>>>>>> >>>>>>> <mailto:xml...@li...>xml...@li... >>>>>>> <mailto:xml...@li...> >>>>>>> >>>>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Colocation vs. Managed Hosting >>>>>> A question and answer guide to determining the best fit >>>>>> for your organization - today and in the future. >>>>>> http://p.sf.net/sfu/internap-sfd2d >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> xmlvm-users mailing list >>>>>> xml...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Colocation vs. Managed Hosting >>>>> A question and answer guide to determining the best fit >>>>> for your organization - today and in the future. >>>>> http://p.sf.net/sfu/internap-sfd2d >>>>> _______________________________________________ >>>>> xmlvm-users mailing list >>>>> xml...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>> >> |
From: Sal <sv...@gm...> - 2011-03-21 17:07:41
|
I understand. Not a problem. Maybe I'll try to find a fast work around for it for now - possibly try to link with a fresh BoehmGC download... see if I have any luck. Thanks for all the help. On 3/21/11, Arno Puder <ar...@pu...> wrote: > The version of Boehm GC that is bundled with XMLVM is specifically for > iOS and shouldn't be used for other platforms. I had meant to change > the Makefile for Posix platforms to rely on an external installation > of Boehm GC for the respective platform. I will do that soon. > > Arno > > > On Mar 21, 2011, at 9:34 AM, Sal <sv...@gm...> wrote: > >> My fault. Eclipse errors due to my coniguration, I rebuilt, that >> error was resolved. >> >> Now: >> >> gcc -w -std=c99 -I../src -c ../src/mark.c -o build/obj/mark.o >> ../src/mark.c: In function `GC_mark_some': >> ../src/mark.c:544: error: `asm' undeclared (first use in this function) >> ../src/mark.c:544: error: (Each undeclared identifier is reported only >> once >> ../src/mark.c:544: error: for each function it appears in.) >> ../src/mark.c:544: error: syntax error before "volatile" >> ../src/mark.c:553: error: syntax error before "volatile" >> make: *** [build/obj/mark.o] Error 1 >> >> I am using mingw32 - trying to compile the Posix target - should this >> be usable yet? >> >> On 3/21/11, Arno Puder <ar...@pu...> wrote: >>> Can you please try "ant clean" and re-build XMLVM? >>> >>> Arno >>> >>> On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: >>> >>>> Arno - >>>> >>>> Currently getting an error from a fresh SVN checkout. Using 'make' >>>> after the command: >>>> >>>> java -Xmx700m -jar dist/xmlvm.jar --target=posix >>>> --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest >>>> >>>> gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o >>>> build/obj/java_lang_Obj >>>> ect.o >>>> ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No such >>>> file or >>>> directory >>>> ../src/java_lang_Object.c:35: error: >>>> `__CLASS_java_lang_Object_AddedMembers' und >>>> eclared here (not in a function) >>>> ../src/java_lang_Object.c:35: error: initializer element is not constant >>>> ../src/java_lang_Object.c:35: error: (near initialization for >>>> `__field_reflectio >>>> n_data[1].type') >>>> ../src/java_lang_Object.c:40: error: initializer element is not constant >>>> ../src/java_lang_Object.c:40: error: (near initialization for >>>> `__field_reflectio >>>> n_data[1]') >>>> make: *** [build/obj/java_lang_Object.o] Error 1 >>>> >>>> On 3/18/11, Sal <sv...@gm...> wrote: >>>>> I'll begin the search for those posts, then - thanks much for the tip, >>>>> Arno. >>>>> >>>>> Potentially if I get it to work I'd like to help make it automated - >>>>> possibly add some Ant logic to take care of the things needed? Just to >>>>> make >>>>> it easier to stay in sync with all the great, exciting work you guys >>>>> are >>>>> doing here. Let me know any thoughts on this, >>>>> >>>>> Thanks again for all the help, >>>>> >>>>> - Sal >>>>> >>>>> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: >>>>> >>>>>> >>>>>> the default targets are still using the Objective-C backend (what is >>>>>> described in the documentation). The C backend is still >>>>>> work-in-progress. Do a grep on this mailing list and you will find >>>>>> some >>>>>> posts that explain how to cross-compile iFireworks using the C >>>>>> backend. >>>>>> >>>>>> We are making good progress on the C backend but it will take some >>>>>> more >>>>>> time to make the switch. I will send an update sometime soon. >>>>>> >>>>>> Arno >>>>>> >>>>>> >>>>>> On 3/18/11 12:06 AM, Sal wrote: >>>>>>> Thanks for the link! >>>>>>> >>>>>>> However I don't see mention of the 'C' target or Harmony support - is >>>>>>> this all handled by one of the generic targets? Or has to be >>>>>>> configured >>>>>>> explicitly at the command line when building? I do see mention of the >>>>>>> objc and c++ things. >>>>>>> >>>>>>> Thanks again for the help, I will shortly attempt a fresh checkout >>>>>>> and >>>>>>> build of the codebase. >>>>>>> >>>>>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... >>>>>>> <mailto:in...@op...>> wrote: >>>>>>> >>>>>>>> Hi sal, >>>>>>>> >>>>>>>> send a piece of the command line output to see what's happen.. >>>>>>>> >>>>>>>> >>>>>>>> to run one of the demo projects take a look the Documentation at >>>>>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: >>>>>>>> directlink: >>>>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project>https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project >>>>>>>> <https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project> >>>>>>>> >>>>>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... >>>>>>>> <mailto:sv...@gm...>> >>>>>>>> >>>>>>>> >>>>>>>> What are the steps to get a simple 'hello world' iPhone app up and >>>>>>>> running from the latest SVN snapshot? Possibly with the Harmony >>>>>>>> support included? (printing to standard out is fine, I understand >>>>>>>> ui is underway). >>>>>>>> >>>>>>>> I read through the manual, but the c target didn't seem >>>>>>>> mentioned... Maybe I missed it, if so apologies - if there are >>>>>>>> docs I'll try those. >>>>>>>> >>>>>>>> I tried (quickly) a svn download and running the ant scripts but >>>>>>>> lots of errors with JDK classes missing, etc. I was wondering what >>>>>>>> the 'proper' way was to hack through it before I started debugging. >>>>>>>> >>>>>>>> If it works I would be happy to put together a wiki page on it, >>>>>>>> possibly put binaries someplace for other newbies to use as well >>>>>>>> to help with getting Java apps compiled on iOS. >>>>>>>> >>>>>>>> Thanks in advance, >>>>>>>> >>>>>>>> Sal >>>>>>>> >>>>>>>> ------------------------------------------------------------------------------ >>>>>>>> Colocation vs. Managed Hosting >>>>>>>> A question and answer guide to determining the best fit >>>>>>>> for your organization - today and in the future. >>>>>>>> >>>>>>>> <http://p.sf.net/sfu/internap-sfd2d>http://p.sf.net/sfu/internap-sfd2d >>>>>>>> _______________________________________________ >>>>>>>> xmlvm-users mailing list >>>>>>>> >>>>>>>> <mailto:xml...@li...>xml...@li... >>>>>>>> <mailto:xml...@li...> >>>>>>>> >>>>>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users>https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Colocation vs. Managed Hosting >>>>>>> A question and answer guide to determining the best fit >>>>>>> for your organization - today and in the future. >>>>>>> http://p.sf.net/sfu/internap-sfd2d >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> xmlvm-users mailing list >>>>>>> xml...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Colocation vs. Managed Hosting >>>>>> A question and answer guide to determining the best fit >>>>>> for your organization - today and in the future. >>>>>> http://p.sf.net/sfu/internap-sfd2d >>>>>> _______________________________________________ >>>>>> xmlvm-users mailing list >>>>>> xml...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >>>>> >>> > |
From: Sal <sv...@gm...> - 2011-03-22 03:43:00
|
I just repeated the process on my Macbook with XCode. It all works great! iFireworks compiled and ran. I normally develop on a non-mac though, so I would be *very* interested in the posix target working under win or linux. But not a major priority - I can work in plain Java elsewhere and just port the missing parts on the Mac potentially. A couple questions as now I'm building my own custom application components. 1) Apache Harmony I believe, as well as GNU classpath already have posix-ish native implementations of most Java things. Is it a good idea to try to port/reuse these for xmlvm somehow? Since most of these are missing currently. Or is there a different strategy in mind? IE rewrite these things from scratch (yikes!). 2) For my own app I will need URL/HTTP client type functionality, or TCPIP sockets would work. What is the recommended method for me to implement these components while working under the C target? I would be happy to contribute my efforts. I would prefer more Java-ish approach than one that uses iOS APIs. 3) What is the purpose of the xmlvm2c/lib/proxies dir in the source tree? When should I have to modify these sources as an xmlvm user? 4) For the iOS APIs - there exist a lot of methods/tools to reflect Objective-C code, or even parsers could be used to generate Java stubs for the iOS APIs in bulk, that just thunk to the 'real' Objective C APIs. Is there anyone thinking to do this yet? Would there be interest in a script for this? Or is the plan to write all those emulation APIs by hand (it would be an immense undertaking this route - and things could get out of sync this way I'm thinking...) Great work on all this, thanks much for the help so far, its a great team here! - Sal On Mon, Mar 21, 2011 at 12:49 PM, Arno Puder <ar...@pu...> wrote: > The version of Boehm GC that is bundled with XMLVM is specifically for > iOS and shouldn't be used for other platforms. I had meant to change > the Makefile for Posix platforms to rely on an external installation > of Boehm GC for the respective platform. I will do that soon. > > Arno > > > On Mar 21, 2011, at 9:34 AM, Sal <sv...@gm...> wrote: > > > My fault. Eclipse errors due to my coniguration, I rebuilt, that > > error was resolved. > > > > Now: > > > > gcc -w -std=c99 -I../src -c ../src/mark.c -o build/obj/mark.o > > ../src/mark.c: In function `GC_mark_some': > > ../src/mark.c:544: error: `asm' undeclared (first use in this function) > > ../src/mark.c:544: error: (Each undeclared identifier is reported only > once > > ../src/mark.c:544: error: for each function it appears in.) > > ../src/mark.c:544: error: syntax error before "volatile" > > ../src/mark.c:553: error: syntax error before "volatile" > > make: *** [build/obj/mark.o] Error 1 > > > > I am using mingw32 - trying to compile the Posix target - should this > > be usable yet? > > > > On 3/21/11, Arno Puder <ar...@pu...> wrote: > >> Can you please try "ant clean" and re-build XMLVM? > >> > >> Arno > >> > >> On Mar 21, 2011, at 8:20 AM, Sal <sv...@gm...> wrote: > >> > >>> Arno - > >>> > >>> Currently getting an error from a fresh SVN checkout. Using 'make' > >>> after the command: > >>> > >>> java -Xmx700m -jar dist/xmlvm.jar --target=posix > >>> --in=bin/org/xmlvm/test/ReflectionTest.class --out=ReflectionTest > >>> > >>> gcc -w -std=c99 -I../src -c ../src/java_lang_Object.c -o > >>> build/obj/java_lang_Obj > >>> ect.o > >>> ../src/java_lang_Object.c:3:43: java_lang_Object_AddedMembers.h: No > such > >>> file or > >>> directory > >>> ../src/java_lang_Object.c:35: error: > >>> `__CLASS_java_lang_Object_AddedMembers' und > >>> eclared here (not in a function) > >>> ../src/java_lang_Object.c:35: error: initializer element is not > constant > >>> ../src/java_lang_Object.c:35: error: (near initialization for > >>> `__field_reflectio > >>> n_data[1].type') > >>> ../src/java_lang_Object.c:40: error: initializer element is not > constant > >>> ../src/java_lang_Object.c:40: error: (near initialization for > >>> `__field_reflectio > >>> n_data[1]') > >>> make: *** [build/obj/java_lang_Object.o] Error 1 > >>> > >>> On 3/18/11, Sal <sv...@gm...> wrote: > >>>> I'll begin the search for those posts, then - thanks much for the tip, > >>>> Arno. > >>>> > >>>> Potentially if I get it to work I'd like to help make it automated - > >>>> possibly add some Ant logic to take care of the things needed? Just > to > >>>> make > >>>> it easier to stay in sync with all the great, exciting work you guys > are > >>>> doing here. Let me know any thoughts on this, > >>>> > >>>> Thanks again for all the help, > >>>> > >>>> - Sal > >>>> > >>>> On Mar 18, 2011, at 3:09 AM, Arno Puder <ar...@pu...> wrote: > >>>> > >>>>> > >>>>> the default targets are still using the Objective-C backend (what is > >>>>> described in the documentation). The C backend is still > >>>>> work-in-progress. Do a grep on this mailing list and you will find > some > >>>>> posts that explain how to cross-compile iFireworks using the C > backend. > >>>>> > >>>>> We are making good progress on the C backend but it will take some > more > >>>>> time to make the switch. I will send an update sometime soon. > >>>>> > >>>>> Arno > >>>>> > >>>>> > >>>>> On 3/18/11 12:06 AM, Sal wrote: > >>>>>> Thanks for the link! > >>>>>> > >>>>>> However I don't see mention of the 'C' target or Harmony support - > is > >>>>>> this all handled by one of the generic targets? Or has to be > configured > >>>>>> explicitly at the command line when building? I do see mention of > the > >>>>>> objc and c++ things. > >>>>>> > >>>>>> Thanks again for the help, I will shortly attempt a fresh checkout > and > >>>>>> build of the codebase. > >>>>>> > >>>>>> On Mar 18, 2011, at 2:50 AM, opwoco GbR <in...@op... > >>>>>> <mailto:in...@op...>> wrote: > >>>>>> > >>>>>>> Hi sal, > >>>>>>> > >>>>>>> send a piece of the command line output to see what's happen.. > >>>>>>> > >>>>>>> > >>>>>>> to run one of the demo projects take a look the Documentation at > >>>>>>> <http://xmlvm.org>xmlvm.org <http://xmlvm.org>: > >>>>>>> directlink: > >>>>>>> < > https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project > > > https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project > >>>>>>> < > https://sites.google.com/a/xmlvm.org/documentation/#TOC-How-to-run-an-XMLVM-project > > > >>>>>>> > >>>>>>> 2011/3/18 Sal <<mailto:sv...@gm...>sv...@gm... > >>>>>>> <mailto:sv...@gm...>> > >>>>>>> > >>>>>>> > >>>>>>> What are the steps to get a simple 'hello world' iPhone app up and > >>>>>>> running from the latest SVN snapshot? Possibly with the Harmony > >>>>>>> support included? (printing to standard out is fine, I understand > >>>>>>> ui is underway). > >>>>>>> > >>>>>>> I read through the manual, but the c target didn't seem > >>>>>>> mentioned... Maybe I missed it, if so apologies - if there are > >>>>>>> docs I'll try those. > >>>>>>> > >>>>>>> I tried (quickly) a svn download and running the ant scripts but > >>>>>>> lots of errors with JDK classes missing, etc. I was wondering what > >>>>>>> the 'proper' way was to hack through it before I started > debugging. > >>>>>>> > >>>>>>> If it works I would be happy to put together a wiki page on it, > >>>>>>> possibly put binaries someplace for other newbies to use as well > >>>>>>> to help with getting Java apps compiled on iOS. > >>>>>>> > >>>>>>> Thanks in advance, > >>>>>>> > >>>>>>> Sal > >>>>>>> > >>>>>>> > ------------------------------------------------------------------------------ > >>>>>>> Colocation vs. Managed Hosting > >>>>>>> A question and answer guide to determining the best fit > >>>>>>> for your organization - today and in the future. > >>>>>>> > >>>>>>> <http://p.sf.net/sfu/internap-sfd2d> > http://p.sf.net/sfu/internap-sfd2d > >>>>>>> _______________________________________________ > >>>>>>> xmlvm-users mailing list > >>>>>>> > >>>>>>> <mailto:xml...@li...> > xml...@li... > >>>>>>> <mailto:xml...@li...> > >>>>>>> > >>>>>>> <https://lists.sourceforge.net/lists/listinfo/xmlvm-users> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > ------------------------------------------------------------------------------ > >>>>>> Colocation vs. Managed Hosting > >>>>>> A question and answer guide to determining the best fit > >>>>>> for your organization - today and in the future. > >>>>>> http://p.sf.net/sfu/internap-sfd2d > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> xmlvm-users mailing list > >>>>>> xml...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>> Colocation vs. Managed Hosting > >>>>> A question and answer guide to determining the best fit > >>>>> for your organization - today and in the future. > >>>>> http://p.sf.net/sfu/internap-sfd2d > >>>>> _______________________________________________ > >>>>> xmlvm-users mailing list > >>>>> xml...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >>>> > >> > |
From: Arno P. <ar...@pu...> - 2011-03-22 07:26:40
|
On 3/21/11 8:42 PM, Sal wrote: > 1) Apache Harmony I believe, as well as GNU classpath already have > posix-ish native implementations of most Java things. Is it a good idea > to try to port/reuse these for xmlvm somehow? Since most of these are > missing currently. Or is there a different strategy in mind? IE rewrite > these things from scratch (yikes!). Absolutely! If we can reuse Harmony's native implementation, then we should do that. XMLVM has a different memory model in the way objects are mapped, but these are usually easy things to adapt. Patches are (as usual) welcome! :) > 2) For my own app I will need URL/HTTP client type functionality, or > TCPIP sockets would work. What is the recommended method for me to > implement these components while working under the C target? I would be > happy to contribute my efforts. I would prefer more Java-ish approach > than one that uses iOS APIs. All of the HTTP stuff in Harmony is implemented in Java. It uses java.net.Socket. So, as long as the native method for sockets are implemented, HTTP should also work in its entirety. > 3) What is the purpose of the xmlvm2c/lib/proxies dir in the source > tree? When should I have to modify these sources as an xmlvm user? see the slide in xmlvm/doc/slides for an explanation. > 4) For the iOS APIs - there exist a lot of methods/tools to reflect > Objective-C code, or even parsers could be used to generate Java stubs > for the iOS APIs in bulk, that just thunk to the 'real' Objective C > APIs. Is there anyone thinking to do this yet? Would there be interest > in a script for this? Or is the plan to write all those emulation APIs > by hand (it would be an immense undertaking this route - and things > could get out of sync this way I'm thinking...) That would certainly be nice. It can probably be done but the resulting Java API might be "ugly". Perhaps it might be possible to give the tool "hints" how to map certain patterns. Arno |