Snapshots (was Re: compiling JCHEVM with MSVC)
Instead of distributing from freebsd.org, we should think about making binary snapshots of Harmony stuff available for people to run and play with. This isn't a release, of course, but just a binary snapshot of where we are for those that don't have the toolchains installed... geir On Nov 21, 2005, at 11:59 AM, Archie Cobbs wrote: Enrico Migliore wrote: I'm trying to figure out how far is your code from a successful build with MSVC on Win2000. That is, at the end of this work, I want to have a clear picture of which source files are 100% OS/architecture independent and which are OS/architecture dependent. One of the problem I'm facing right now, are the memory management functions you call. for example, Windows doesn't have the mmap() function, therefore, at the moment, I must supply a dummy mmap() implementation, in order to proceed. The other problem I got is that I don't have the files and the macros, generated by the automake and autoconf tools, and I need them as a reference. In order to for me to proceed I need to take a look at the source tree generated by automake and autoconf. Could anybody send me the tree built for Linux? Try this... I built a distribution tarball from the current SVN sources: http://people.freebsd.org/~archie/jchevm-1.0.tar.gz -Archie __ Archie Cobbs *CTO, Awarix* http:// www.awarix.com -- Geir Magnusson Jr +1-203-665-6437 [EMAIL PROTECTED]
Re: Snapshots (was Re: compiling JCHEVM with MSVC)
Geir Magnusson Jr. wrote: Instead of distributing from freebsd.org, we should think about making binary snapshots of Harmony stuff available for people to run and play with. Definitely. Just show me where to put it. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com
Re: Snapshots (was Re: compiling JCHEVM with MSVC)
Geir Magnusson Jr. wrote: Instead of distributing from freebsd.org, we should think about making binary snapshots of Harmony stuff available for people to run and play with. This isn't a release, of course, but just a binary snapshot of where we are for those that don't have the toolchains installed... geir Hi, This is a good idea to foster the project. Enrico
[jchevm] Porting JCHEVM to OSX/PPC
Hi All, Is there anybody still working on an OSX/PPC port of JCHEVM? I tried to compile it on my iBook today and looked a little bit into it, but I'll not be able to do the port without some help. I read through the discussion which followed Archie Cobbs's announcement of the contribution [1] where Andy Oliver tried to port it, but I didn't find all the answers there. I don't really have experience with arch-specific stuff or porting to OSX/PPC, so if there's someone who wants to do the port instead of me I wouldn't mind too. First of all the problem with the missing elf.h. Simply copying it from a Linux system doesn't do the job (elf.h has other dependencies, and I didn't want to copy too much headers). Can I remove all the ELF specific stuff? I started doing so, it looks like a lot of work but AFAICS the ELF stuff isn't used anyway in the harmony edition. I saw that there is the following construct in some of the header files: #elif defined(__powerpc__) #include powerpc/powerpc_[some-header].h #endif which I extended to: #elif defined(__powerpc__) #include powerpc/powerpc_[some-header].h #elif defined(__ppc__) #include ppc/ppc_[some-header].h #endif and added the appropriate headers (see next paragraph). Is there a powerpc-port of the original JCVM and could we use it for harmony? In the directory libjc/arch/ppc i added ppc_definitions.h, ppc_structures.h and ppc_libjc.h. I simply copied the files from the i386 directory and used the FreeBSD - Specific stuff where there were OS differences. This doesn't work for ppc_libjc.h. Here the structure mcontext_t is not defined. Where does that come from on i386? Regards, David [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200509.mbox/[EMAIL PROTECTED] -- David Tanzer, Haghofstr. 29, A-3352 St. Peter/Au, Austria/Europe http://deltalabs.at -- http://dev.guglhupf.net -- http://guglhupf.net My PGP Public Key: http://guglhupf.net/david/david.asc -- From Meet John Brain Brain: Pinky, once I take over the world, remind me to publicly snub you. smime.p7s Description: S/MIME cryptographic signature
Re: [jchevm] Porting JCHEVM to OSX/PPC
David Tanzer wrote: First of all the problem with the missing elf.h. Simply copying it from a Linux system doesn't do the job (elf.h has other dependencies, and I didn't want to copy too much headers). Can I remove all the ELF specific stuff? I started doing so, it looks like a lot of work but AFAICS the ELF stuff isn't used anyway in the harmony edition. You can remove any ELF related stuff, it's not used. When time permits I'll work on stripping more stuff out. and added the appropriate headers (see next paragraph). Is there a powerpc-port of the original JCVM and could we use it for harmony? No, x86 is the only port so far. In the directory libjc/arch/ppc i added ppc_definitions.h, ppc_structures.h and ppc_libjc.h. I simply copied the files from the i386 directory and used the FreeBSD - Specific stuff where there were OS differences. This doesn't work for ppc_libjc.h. Here the structure mcontext_t is not defined. Where does that come from on i386? mcontext_t should be defined by #include ucontext.h. Cheers, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com