From Richard.Barnes at stratus.com Fri Sep 12 13:31:18 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Fri, 12 Sep 2008 16:31:18 -0400 Subject: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Message-ID: I am part of a small team at Stratus Technologies that is planning to port OpenJDK6 to its proprietary OpenVOS operating system running on IA32. What makes this interesting and unusual is that even though we are targeting a little-endian chip, for compatibility reasons OpenVOS must present a big-endian environment to its users, so that gcc and g++, as well as native OpenVOS compilers, produce code that makes IA32 appear to be big-endian at the source level. The internals of OpenVOS are quite different from the internals of Unix, but we have added a POSIX.1 API to our operating system in recent years, which should help to make this project possible. The runtime conventions are close to those of Unix on IA32, with the exception of endianness and some register usage, but that should not be insurmountable. When I first sent mail to jdk-6.dev, Joe Darcy of Sun suggested that we check in with this group for community advice. For these reasons, we hope to have our project accepted to join OpenJDK. Thanks, Richard Barnes Senior Technical Consultant Stratus Technologies -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080912/d514356c/attachment.html From volker.simonis at gmail.com Sun Sep 14 23:54:36 2008 From: volker.simonis at gmail.com (Volker Simonis) Date: Mon, 15 Sep 2008 08:54:36 +0200 Subject: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: References: Message-ID: Hi Richard, what kind of port do you plan: interpreter only or with JIT. And which kind of interpreter (C++- or Template-Interpeter) and which JIT (C1 or C2) do you want to port. Have you checked with the people from SUN what's the status of the old IA64 port of Hotspot (which uses the C++-Interpreter and has a C2 implementation). Adding that port to the OpenJDK would probably be very usefull and a good starting point for your port.. Regards, Volker On 9/12/08, Barnes, Richard wrote: > > > > I am part of a small team at Stratus Technologies that is planning to port > OpenJDK6 to its proprietary OpenVOS operating system running on IA32. What > makes this interesting and unusual is that even though we are targeting a > little-endian chip, for compatibility reasons OpenVOS must present a > big-endian environment to its users, so that gcc and g++, as well as native > OpenVOS compilers, produce code that makes IA32 appear to be big-endian at > the source level. The internals of OpenVOS are quite different from the > internals of Unix, but we have added a POSIX.1 API to our operating system > in recent years, which should help to make this project possible. The > runtime conventions are close to those of Unix on IA32, with the exception > of endianness and some register usage, but that should not be > insurmountable. > > When I first sent mail to jdk-6.dev, Joe Darcy of Sun suggested that we > check in with this group for community advice. > > For these reasons, we hope to have our project accepted to join OpenJDK. > > Thanks, > > Richard Barnes > Senior Technical Consultant > Stratus Technologies From Dalibor.Topic at Sun.COM Mon Sep 15 03:29:04 2008 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Mon, 15 Sep 2008 12:29:04 +0200 Subject: starting Eclipse on Darwin with OpenJDK In-Reply-To: <535803b00808211343h784af8e4s5be29eaa2356532e@mail.gmail.com> References: <535803b00808211343h784af8e4s5be29eaa2356532e@mail.gmail.com> Message-ID: <48CE38F0.5010303@sun.com> David Green wrote: Hi David, the list you're looking for is bsd-port-dev - available at http://mail.openjdk.java.net/mailman/listinfo/bsd-port-dev . I've cc:ed your post to that list, you'll need to subscribe to post though, if you haven't yet. cheers, dalibor topic > In the past I've had success launching Eclipse using SoyLatte > . > > > With Landon Fuller's recent announcement of OpenJDK on Darwin and Mac > I downloaded the OpenJDK binaries posted here > . > Unfortunately the SWT libraries fail to load. > Is there a problem with JNI on Mac OS X? Following is the error > message that I saw: > > !SESSION 2008-08-21 13:22:33.593 > ----------------------------------------------- > eclipse.buildId=I20080617-2000 > java.version=1.7.0-internal > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_CA > Framework arguments: -keyring /Users/dgreen/.eclipse_keyring > -showlocation > Command-line arguments: -os macosx -ws carbon -arch x86 -data > /Users/dgreen/Documents/workspace-mylyn.wikitext -keyring > /Users/dgreen/.eclipse_keyring -consoleLog -showlocation > > !ENTRY org.eclipse.osgi 4 0 2008-08-21 13:22:34.891 > !MESSAGE Application error > !STACK 1 > java.lang.UnsatisfiedLinkError: no swt-carbon-3448 or swt-carbon in > swt.library.path, java.library.path or the jar file > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) > at org.eclipse.swt.internal.C.(C.java:21) > at org.eclipse.swt.widgets.Display.createDisplay(Display.java:972) > at org.eclipse.swt.widgets.Display.create(Display.java:966) > at org.eclipse.swt.graphics.Device.(Device.java:124) > at org.eclipse.swt.widgets.Display.(Display.java:774) > at org.eclipse.swt.widgets.Display.(Display.java:765) > at > org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:525) > at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) > at > org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:623) > at > org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) > -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: Thomas Schr?der, Wolfgang Engels, Dr. Roland B?mer Vorsitzender des Aufsichtsrates: Martin H?ring From Richard.Barnes at stratus.com Mon Sep 15 08:37:40 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Mon, 15 Sep 2008 11:37:40 -0400 Subject: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: Message-ID: Hi Volker, We are hoping to port the interpreter and a JIT. I'm not sure I understand the "which kind of interpreter" question. We copied the OpenJDK6 HotSpot sources from Sun's web site. The interpreter is mostly written in C++, but I did not know that there was a choice of interpreter type to be made. I believe we should port the C2 compiler since our computers are used as servers. We have not yet had much contact with SUN, although we hope to get more. The porting base we found has support for amd64, i486, and sparc running linux, solaris, or windows. We are planning to start from i486 and linux. Regards, Richard -----Original Message----- From: Volker Simonis [mailto:volker.simonis at gmail.com] Sent: Monday, September 15, 2008 2:55 AM To: Barnes, Richard Cc: porters-dev at openjdk.java.net; Joe.Darcy at sun.com Subject: Re: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Hi Richard, what kind of port do you plan: interpreter only or with JIT. And which kind of interpreter (C++- or Template-Interpeter) and which JIT (C1 or C2) do you want to port. Have you checked with the people from SUN what's the status of the old IA64 port of Hotspot (which uses the C++-Interpreter and has a C2 implementation). Adding that port to the OpenJDK would probably be very usefull and a good starting point for your port.. Regards, Volker On 9/12/08, Barnes, Richard wrote: > > > > I am part of a small team at Stratus Technologies that is planning to port > OpenJDK6 to its proprietary OpenVOS operating system running on IA32. What > makes this interesting and unusual is that even though we are targeting a > little-endian chip, for compatibility reasons OpenVOS must present a > big-endian environment to its users, so that gcc and g++, as well as native > OpenVOS compilers, produce code that makes IA32 appear to be big-endian at > the source level. The internals of OpenVOS are quite different from the > internals of Unix, but we have added a POSIX.1 API to our operating system > in recent years, which should help to make this project possible. The > runtime conventions are close to those of Unix on IA32, with the exception > of endianness and some register usage, but that should not be > insurmountable. > > When I first sent mail to jdk-6.dev, Joe Darcy of Sun suggested that we > check in with this group for community advice. > > For these reasons, we hope to have our project accepted to join OpenJDK. > > Thanks, > > Richard Barnes > Senior Technical Consultant > Stratus Technologies From Richard.Barnes at stratus.com Mon Sep 15 11:34:06 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Mon, 15 Sep 2008 14:34:06 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Message-ID: Hi Volker, We found your blog at http://weblogs.java.net/blog/simonis/archive/2007/11/template_vs_cin_1.h tml, which has enlightened us as to the "which kind of interpreter" question. Our plan has been to convert all the source we can to our environment, but we will probably try to get the template interpreter working before the C++ one. From our point of view, they probably both present an equivalent degree of difficulty because each of the code sequences that load or store data will have to be examined unless the VM_LITTLE_ENDIAN flag and the functions in hotspot/src/cpu/x86/vm/bytes_x86.hpp manage to help us out. If time runs out, we may just do the template interpreter. Thanks, Richard -----Original Message----- From: Barnes, Richard Sent: Monday, September 15, 2008 11:38 AM To: 'Volker Simonis' Cc: porters-dev at openjdk.java.net; Joe.Darcy at sun.com; Richard Barnes Subject: RE: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Hi Volker, We are hoping to port the interpreter and a JIT. I'm not sure I understand the "which kind of interpreter" question. We copied the OpenJDK6 HotSpot sources from Sun's web site. The interpreter is mostly written in C++, but I did not know that there was a choice of interpreter type to be made. I believe we should port the C2 compiler since our computers are used as servers. We have not yet had much contact with SUN, although we hope to get more. The porting base we found has support for amd64, i486, and sparc running linux, solaris, or windows. We are planning to start from i486 and linux. Regards, Richard -----Original Message----- From: Volker Simonis [mailto:volker.simonis at gmail.com] Sent: Monday, September 15, 2008 2:55 AM To: Barnes, Richard Cc: porters-dev at openjdk.java.net; Joe.Darcy at sun.com Subject: Re: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Hi Richard, what kind of port do you plan: interpreter only or with JIT. And which kind of interpreter (C++- or Template-Interpeter) and which JIT (C1 or C2) do you want to port. Have you checked with the people from SUN what's the status of the old IA64 port of Hotspot (which uses the C++-Interpreter and has a C2 implementation). Adding that port to the OpenJDK would probably be very usefull and a good starting point for your port.. Regards, Volker On 9/12/08, Barnes, Richard wrote: > > > > I am part of a small team at Stratus Technologies that is planning to port > OpenJDK6 to its proprietary OpenVOS operating system running on IA32. What > makes this interesting and unusual is that even though we are targeting a > little-endian chip, for compatibility reasons OpenVOS must present a > big-endian environment to its users, so that gcc and g++, as well as native > OpenVOS compilers, produce code that makes IA32 appear to be big-endian at > the source level. The internals of OpenVOS are quite different from the > internals of Unix, but we have added a POSIX.1 API to our operating system > in recent years, which should help to make this project possible. The > runtime conventions are close to those of Unix on IA32, with the exception > of endianness and some register usage, but that should not be > insurmountable. > > When I first sent mail to jdk-6.dev, Joe Darcy of Sun suggested that we > check in with this group for community advice. > > For these reasons, we hope to have our project accepted to join OpenJDK. > > Thanks, > > Richard Barnes > Senior Technical Consultant > Stratus Technologies From twisti at complang.tuwien.ac.at Mon Sep 15 11:49:20 2008 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Mon, 15 Sep 2008 20:49:20 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: References: Message-ID: <1221504560.21247.11.camel@workstation> On Mon, 2008-09-15 at 14:34 -0400, Barnes, Richard wrote: > Hi Volker, > > We found your blog at > http://weblogs.java.net/blog/simonis/archive/2007/11/template_vs_cin_1.h > tml, which has enlightened us as to the "which kind of interpreter" > question. Our plan has been to convert all the source we can to our > environment, but we will probably try to get the template interpreter > working before the C++ one. From our point of view, they probably both > present an equivalent degree of difficulty because each of the code > sequences that load or store data will have to be examined unless the > VM_LITTLE_ENDIAN flag and the functions in > hotspot/src/cpu/x86/vm/bytes_x86.hpp manage to help us out. If time > runs out, we may just do the template interpreter. Have you thought about trying the HotSpot zero-assembler port[1] of the C++ interpreter (done my Gary Benson) first as your toolchain should then handle all little-big endian problems? [1] http://openjdk.java.net/projects/zero/ - twisti From springer at reservoir.com Mon Sep 15 14:57:12 2008 From: springer at reservoir.com (Jonathan Springer) Date: Mon, 15 Sep 2008 16:57:12 -0500 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: References: Message-ID: <48CEDA38.9090704@reservoir.com> Barnes, Richard wrote: > Hi Volker, > > We found your blog at > http://weblogs.java.net/blog/simonis/archive/2007/11/template_vs_cin_1.h > tml, which has enlightened us as to the "which kind of interpreter" > question. Our plan has been to convert all the source we can to our > environment, but we will probably try to get the template interpreter > working before the C++ one. From our point of view, they probably both > present an equivalent degree of difficulty because each of the code > sequences that load or store data will have to be examined unless the > VM_LITTLE_ENDIAN flag and the functions in > hotspot/src/cpu/x86/vm/bytes_x86.hpp manage to help us out. If time > runs out, we may just do the template interpreter. > > Thanks, > > Richard Hotspot does hardcode some assumptions about x86 being little-endian, like in bytes_linux_i486.inline.hpp. swap_u2 needs to translate between Java byte order (big-endian) and host platform order, so while on sparc swap_u2 is a nop, on x86 it always swaps. I ran into this when porting the template interpreter a while back. I think the template interpreter might be a little more work to make big-endian due to the volume of code compared with the C++ interpreter, but not too bad, and of course much less work than a full new-cpu port. Sun uses the template compiler for their supported platforms. On the other hand, I think among the various non-Sun porting projects, using the C++ interpreter is probably more common. Also, Gary Benson has a nice zero-assembler port, which might be the easiest of all. For the compiler, you are right that C2 is the one you want if you want best performance. -Jonathan -- Jonathan Springer | Reservoir Labs, Inc. | http://www.reservoir.com/ From Richard.Barnes at stratus.com Wed Sep 17 10:38:16 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Wed, 17 Sep 2008 13:38:16 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: 1221504560.21247.11.camel@workstation Message-ID: Twisti, We didn't know about Project Zero until we received your letter. The little that I can tell from the Project Zero web site is that is known to work on certain CPU platforms, but x86 is not listed among them. I also cannot tell whether Project Zero is just JDK7 or whether it also includes JDK6. Our goal is to use JDK6, so that would be important to us. Thanks, Richard -----Original Message----- From: Christian Thalinger [mailto:twisti at complang.tuwien.ac.at] Sent: Monday, September 15, 2008 2:49 PM To: Barnes, Richard Cc: Volker Simonis; porters-dev at openjdk.java.net; Joe.Darcy at sun.com Subject: Re: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 On Mon, 2008-09-15 at 14:34 -0400, Barnes, Richard wrote: > Hi Volker, > > We found your blog at > http://weblogs.java.net/blog/simonis/archive/2007/11/template_vs_cin_1.h > tml, which has enlightened us as to the "which kind of interpreter" > question. Our plan has been to convert all the source we can to our > environment, but we will probably try to get the template interpreter > working before the C++ one. From our point of view, they probably both > present an equivalent degree of difficulty because each of the code > sequences that load or store data will have to be examined unless the > VM_LITTLE_ENDIAN flag and the functions in > hotspot/src/cpu/x86/vm/bytes_x86.hpp manage to help us out. If time > runs out, we may just do the template interpreter. Have you thought about trying the HotSpot zero-assembler port[1] of the C++ interpreter (done my Gary Benson) first as your toolchain should then handle all little-big endian problems? [1] http://openjdk.java.net/projects/zero/ - twisti From Richard.Barnes at stratus.com Wed Sep 17 10:55:29 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Wed, 17 Sep 2008 13:55:29 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: 48CEDA38.9090704@reservoir.com Message-ID: Luckily, I had already found bytes_linux_i486.inline.hpp. (By the way, I meant to say hotspot/src/cpu/i486/vm/bytes_i486.hpp in my previous letter.) I don't really know whether Project Zero is available for JDK6. Thanks, Richard -----Original Message----- From: Jonathan Springer [mailto:springer at reservoir.com] Sent: Monday, September 15, 2008 5:57 PM To: Barnes, Richard Cc: Volker Simonis; porters-dev at openjdk.java.net; Joe.Darcy at sun.com Subject: Re: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 Barnes, Richard wrote: > Hi Volker, > > We found your blog at > http://weblogs.java.net/blog/simonis/archive/2007/11/template_vs_cin_1.h > tml, which has enlightened us as to the "which kind of interpreter" > question. Our plan has been to convert all the source we can to our > environment, but we will probably try to get the template interpreter > working before the C++ one. From our point of view, they probably both > present an equivalent degree of difficulty because each of the code > sequences that load or store data will have to be examined unless the > VM_LITTLE_ENDIAN flag and the functions in > hotspot/src/cpu/x86/vm/bytes_x86.hpp manage to help us out. If time > runs out, we may just do the template interpreter. > > Thanks, > > Richard Hotspot does hardcode some assumptions about x86 being little-endian, like in bytes_linux_i486.inline.hpp. swap_u2 needs to translate between Java byte order (big-endian) and host platform order, so while on sparc swap_u2 is a nop, on x86 it always swaps. I ran into this when porting the template interpreter a while back. I think the template interpreter might be a little more work to make big-endian due to the volume of code compared with the C++ interpreter, but not too bad, and of course much less work than a full new-cpu port. Sun uses the template compiler for their supported platforms. On the other hand, I think among the various non-Sun porting projects, using the C++ interpreter is probably more common. Also, Gary Benson has a nice zero-assembler port, which might be the easiest of all. For the compiler, you are right that C2 is the one you want if you want best performance. -Jonathan -- Jonathan Springer | Reservoir Labs, Inc. | http://www.reservoir.com/ From twisti at complang.tuwien.ac.at Wed Sep 17 11:01:21 2008 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Wed, 17 Sep 2008 20:01:21 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: References: Message-ID: <1221674481.5620.6.camel@workstation> On Wed, 2008-09-17 at 13:55 -0400, Barnes, Richard wrote: > Luckily, I had already found bytes_linux_i486.inline.hpp. (By the way, > I meant to say hotspot/src/cpu/i486/vm/bytes_i486.hpp in my previous > letter.) > > I don't really know whether Project Zero is available for JDK6. It is available for OpenJDK6 through IcedTea[1]. I actually never tried to build it on i386 or x86_64, because there is a compiler in HotSpot for them, but I could give it a try. Gary would probably know it from the top of his head. [1] http://icedtea.classpath.org/ - Christian From puybaret at eteks.com Wed Sep 17 11:08:51 2008 From: puybaret at eteks.com (Emmanuel Puybaret) Date: Wed, 17 Sep 2008 20:08:51 +0200 Subject: AWT toolkit for Mac OS X Aqua Message-ID: <929825AD-4A66-42D0-A0A2-FD705C07DE3A@eteks.com> Hi everybody, Time passed, and we still didn't develop anything about Aqua AWT Toolkit. As I said back in November 2007 http://mail.openjdk.java.net/pipermail/porters-dev/2007-November/000001.html , I wanted to spend some time on this, but finally I didn't have the time. One good thing : I worked with JNI during 5 months this year, and this will help to develop such a toolkit (but I still have a small knowledge about Cocoa). An other good thing for self motivation : month after month, it looks like Apple won't support old architecture in JDK, and their support for Java in general is worse and worse. It seems we really need OpenJDK to run on Mac OS X. I write you today to get ideas about how to get some financial support to help me contribute to this toolkit port. Any idea will be welcome. :-) Best regards -- Emmanuel PUYBARET Email : puybaret at eteks.com Web : http://www.eteks.com From Richard.Barnes at stratus.com Wed Sep 17 11:22:15 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Wed, 17 Sep 2008 14:22:15 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 In-Reply-To: 1221674481.5620.6.camel@workstation Message-ID: Thanks for the info. Richard -----Original Message----- From: Christian Thalinger [mailto:twisti at complang.tuwien.ac.at] Sent: Wednesday, September 17, 2008 2:01 PM To: Barnes, Richard Cc: Jonathan Springer; porters-dev at openjdk.java.net; Joe.Darcy at sun.com Subject: RE: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 On Wed, 2008-09-17 at 13:55 -0400, Barnes, Richard wrote: > Luckily, I had already found bytes_linux_i486.inline.hpp. (By the way, > I meant to say hotspot/src/cpu/i486/vm/bytes_i486.hpp in my previous > letter.) > > I don't really know whether Project Zero is available for JDK6. It is available for OpenJDK6 through IcedTea[1]. I actually never tried to build it on i386 or x86_64, because there is a compiler in HotSpot for them, but I could give it a try. Gary would probably know it from the top of his head. [1] http://icedtea.classpath.org/ - Christian From majeric at gmail.com Mon Sep 22 09:18:19 2008 From: majeric at gmail.com (Jeremy Denton) Date: Mon, 22 Sep 2008 09:18:19 -0700 Subject: AWT toolkit for Mac OS X Aqua In-Reply-To: <929825AD-4A66-42D0-A0A2-FD705C07DE3A@eteks.com> References: <929825AD-4A66-42D0-A0A2-FD705C07DE3A@eteks.com> Message-ID: The mechanism for setting up a project with financial support is built into sourceforge. You could start a project there. Jeremy On Sep 17, 2008, at 11:08 AM, Emmanuel Puybaret wrote: > Hi everybody, > > Time passed, and we still didn't develop anything about Aqua AWT > Toolkit. > > As I said back in November 2007 http://mail.openjdk.java.net/pipermail/porters-dev/2007-November/000001.html > , I wanted to spend some time on this, but finally I didn't have > the time. > One good thing : I worked with JNI during 5 months this year, and > this will help to develop such a toolkit (but I still have a small > knowledge about Cocoa). > An other good thing for self motivation : month after month, it > looks like Apple won't support old architecture in JDK, and their > support for Java in general is worse and worse. It seems we really > need OpenJDK to run on Mac OS X. > > I write you today to get ideas about how to get some financial > support to help me contribute to this toolkit port. Any idea will be > welcome. :-) > > Best regards > -- > Emmanuel PUYBARET > Email : puybaret at eteks.com > Web : http://www.eteks.com > From puybaret at eteks.com Mon Sep 22 12:29:45 2008 From: puybaret at eteks.com (Emmanuel Puybaret) Date: Mon, 22 Sep 2008 21:29:45 +0200 Subject: AWT toolkit for Mac OS X Aqua In-Reply-To: References: <929825AD-4A66-42D0-A0A2-FD705C07DE3A@eteks.com> Message-ID: <921BE2F9-BB59-4E31-B2BE-3435BF696B38@eteks.com> Thank you Jeremy for your suggestion. I know SourceForge.net quite well because Sweet Home 3D, one of my Open Source project is hosted there at http://sweethome3d.sourceforge.net . ;-) But I don't earn money on this project through SourceForge.net, and really wonder if some projects got enough donations for their living. Best regards -- Emmanuel Puybaret Le 22 sept. 08 ? 18:18, Jeremy Denton a ?crit : > The mechanism for setting up a project with financial support is > built into sourceforge. You could start a project there. > > Jeremy > > > On Sep 17, 2008, at 11:08 AM, Emmanuel Puybaret wrote: > >> Hi everybody, >> >> Time passed, and we still didn't develop anything about Aqua AWT >> Toolkit. >> >> As I said back in November 2007 http://mail.openjdk.java.net/pipermail/porters-dev/2007-November/000001.html >> , I wanted to spend some time on this, but finally I didn't have >> the time. >> One good thing : I worked with JNI during 5 months this year, and >> this will help to develop such a toolkit (but I still have a small >> knowledge about Cocoa). >> An other good thing for self motivation : month after month, it >> looks like Apple won't support old architecture in JDK, and their >> support for Java in general is worse and worse. It seems we really >> need OpenJDK to run on Mac OS X. >> >> I write you today to get ideas about how to get some financial >> support to help me contribute to this toolkit port. Any idea will >> be welcome. :-) >> >> Best regards >> -- >> Emmanuel PUYBARET >> Email : puybaret at eteks.com >> Web : http://www.eteks.com From Richard.Barnes at stratus.com Mon Sep 22 13:41:07 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Mon, 22 Sep 2008 16:41:07 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? Message-ID: Since Java obviously does not exist on OpenVOS yet, and since there are *.java files in HotSpot, we have been considering doing cross development from a Linux/IA32 machine that already has a native Java installed. Since what we desire as a result of this project is an OpenJDK6 running on OpenVOS, we believe we have run into a problem in the makefiles and *.gmk files we have encountered to do not seem to distinguish between host environments and target environments, which would be helpful in order to make cross development less difficult. This is in contrast to what we have seen in porting GNU software such as gcc and gdb. Does anybody have any hints in how to deal with this situation in order to produce a JVM and JIT compiler for a platform different from the original host platform? Thanks, Richard > -----Original Message----- > From: Barnes, Richard > Sent: Friday, September 12, 2008 4:31 PM > To: 'porters-dev at openjdk.java.net' > Cc: 'Joe.Darcy at Sun.COM'; Richard Barnes > Subject: Porting OpenJDK 6 to Stratus OpenVOS on IA32 > > I am part of a small team at Stratus Technologies that is planning to > port OpenJDK6 to its proprietary OpenVOS operating system running on > IA32. What makes this interesting and unusual is that even though we > are targeting a little-endian chip, for compatibility reasons OpenVOS > must present a big-endian environment to its users, so that gcc and > g++, as well as native OpenVOS compilers, produce code that makes IA32 > appear to be big-endian at the source level. The internals of OpenVOS > are quite different from the internals of Unix, but we have added a > POSIX.1 API to our operating system in recent years, which should help > to make this project possible. The runtime conventions are close to > those of Unix on IA32, with the exception of endianness and some > register usage, but that should not be insurmountable. > > When I first sent mail to jdk-6.dev, Joe Darcy of Sun suggested that > we check in with this group for community advice. > > For these reasons, we hope to have our project accepted to join > OpenJDK. > > Thanks, > > Richard Barnes > Senior Technical Consultant > Stratus Technologies > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080922/44498ee7/attachment.html From Dalibor.Topic at Sun.COM Mon Sep 22 15:47:46 2008 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Tue, 23 Sep 2008 00:47:46 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? In-Reply-To: References: Message-ID: <48D82092.9060808@sun.com> Barnes, Richard wrote: > > Since Java obviously does not exist on OpenVOS yet, and since there > are *.java files in HotSpot, we have been considering doing cross > development from a Linux/IA32 machine that already has a native Java > installed. Since what we desire as a result of this project is an > OpenJDK6 running on OpenVOS, we believe we have run into a problem in > the makefiles and *.gmk files we have encountered to do not seem to > distinguish between host environments and target environments, which > would be helpful in order to make cross development less difficult. > This is in contrast to what we have seen in porting GNU software such > as gcc and gdb. Does anybody have any hints in how to deal with this > situation in order to produce a JVM and JIT compiler for a platform > different from the original host platform? > Bootstrapping OpenJDK on a platform that doesn't have a Java SE 6 runtime is fun. ;) I hope http://mail.openjdk.java.net/pipermail/porters-dev/2008-February/000080.html is useful for your purpose. cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: Thomas Schr?der, Wolfgang Engels, Dr. Roland B?mer Vorsitzender des Aufsichtsrates: Martin H?ring From mark at klomp.org Tue Sep 23 03:42:47 2008 From: mark at klomp.org (Mark Wielaard) Date: Tue, 23 Sep 2008 12:42:47 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? In-Reply-To: References: Message-ID: <1222166567.3178.72.camel@dijkstra.wildebeest.org> Hi Richard, On Mon, 2008-09-22 at 16:41 -0400, Barnes, Richard wrote: > Since Java obviously does not exist on OpenVOS yet, and since there > are *.java files in HotSpot, we have been considering doing cross > development from a Linux/IA32 machine that already has a native Java > installed. Since what we desire as a result of this project is an > OpenJDK6 running on OpenVOS, we believe we have run into a problem in > the makefiles and *.gmk files we have encountered to do not seem to > distinguish between host environments and target environments, which > would be helpful in order to make cross development less difficult. > This is in contrast to what we have seen in porting GNU software such > as gcc and gdb. Does anybody have any hints in how to deal with this > situation in order to produce a JVM and JIT compiler for a platform > different from the original host platform? If you do already have a GCC plus recent GCJ port for OpenVOS you could use the approach that IcedTea took and bootstrap OpenJDK using the existing libre-java toolchain based on GCC, GCJ, GNU Classpath and ECJ. See http://icedtea.classpath.org/ and the people on distro-pkg-dev at openjdk.java.net will most likely be happy to help out. Cheers, Mark From springer at reservoir.com Tue Sep 23 05:22:11 2008 From: springer at reservoir.com (Jonathan Springer) Date: Tue, 23 Sep 2008 07:22:11 -0500 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? In-Reply-To: References: Message-ID: <48D8DF73.3050704@reservoir.com> As Dalibor mentions, another approach is to mount a remote filesystem hosted on a platform for which you already have a JDK. This is what we did on the MIPS port, using an x86/Linux machine. There is some support for this, in the form of the REMOTE makefile variable. A few more details are here: http://mail.openjdk.java.net/pipermail/porters-dev/2008-May/000159.html -Jonathan Barnes, Richard wrote: > Since Java obviously does not exist on OpenVOS yet, and since there are > *.java files in HotSpot, we have been considering doing cross > development from a Linux/IA32 machine that already has a native Java > installed. Since what we desire as a result of this project is an > OpenJDK6 running on OpenVOS, we believe we have run into a problem in > the makefiles and *.gmk files we have encountered to do not seem to > distinguish between host environments and target environments, which > would be helpful in order to make cross development less difficult. > This is in contrast to what we have seen in porting GNU software such as > gcc and gdb. Does anybody have any hints in how to deal with this > situation in order to produce a JVM and JIT compiler for a platform > different from the original host platform? > > Thanks, > > Richard -- Jonathan Springer | Reservoir Labs, Inc. | http://www.reservoir.com/ From Richard.Barnes at stratus.com Wed Sep 24 08:18:30 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Wed, 24 Sep 2008 11:18:30 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? In-Reply-To: 48D8DF73.3050704@reservoir.com Message-ID: Dalibor, Mark, and Jonathan, Thank you for your responses to my question about cross development. I think we will follow the suggestions that involve using a remote JDK for the Java portion of the port. That will hopefully avoid any problems of distinguishing between host and target in the Makefiles and xml files in the porting base. Richard -----Original Message----- From: Jonathan Springer [mailto:springer at reservoir.com] Sent: Tuesday, September 23, 2008 8:22 AM To: Barnes, Richard Cc: porters-dev at openjdk.java.net; Joe.Darcy at Sun.COM Subject: Re: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? As Dalibor mentions, another approach is to mount a remote filesystem hosted on a platform for which you already have a JDK. This is what we did on the MIPS port, using an x86/Linux machine. There is some support for this, in the form of the REMOTE makefile variable. A few more details are here: http://mail.openjdk.java.net/pipermail/porters-dev/2008-May/000159.html -Jonathan Barnes, Richard wrote: > Since Java obviously does not exist on OpenVOS yet, and since there are > *.java files in HotSpot, we have been considering doing cross > development from a Linux/IA32 machine that already has a native Java > installed. Since what we desire as a result of this project is an > OpenJDK6 running on OpenVOS, we believe we have run into a problem in > the makefiles and *.gmk files we have encountered to do not seem to > distinguish between host environments and target environments, which > would be helpful in order to make cross development less difficult. > This is in contrast to what we have seen in porting GNU software such as > gcc and gdb. Does anybody have any hints in how to deal with this > situation in order to produce a JVM and JIT compiler for a platform > different from the original host platform? > > Thanks, > > Richard -- Jonathan Springer | Reservoir Labs, Inc. | http://www.reservoir.com/ From twisti at complang.tuwien.ac.at Wed Sep 24 08:28:19 2008 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Wed, 24 Sep 2008 17:28:19 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- cross development?? In-Reply-To: References: Message-ID: <1222270099.2612.2.camel@workstation> On Wed, 2008-09-24 at 11:18 -0400, Barnes, Richard wrote: > Dalibor, Mark, and Jonathan, > > Thank you for your responses to my question about cross development. I > think we will follow the suggestions that involve using a remote JDK for > the Java portion of the port. That will hopefully avoid any problems of > distinguishing between host and target in the Makefiles and xml files in > the porting base. I can only talk about the JDK portion, because I use a different VM on cross-compiled platforms, but cross-compiling the JDK works perfectly ?(except one small glitch). I could give you some hints if that helps. - Christian From Richard.Barnes at stratus.com Wed Sep 24 11:07:54 2008 From: Richard.Barnes at stratus.com (Barnes, Richard) Date: Wed, 24 Sep 2008 14:07:54 -0400 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- crossdevelopment?? In-Reply-To: <1222270099.2612.2.camel@workstation> Message-ID: I would be happy to hear from you. Thanks, Richard -----Original Message----- From: Christian Thalinger [mailto:twisti at complang.tuwien.ac.at] Sent: Wednesday, September 24, 2008 11:28 AM To: Barnes, Richard Cc: Dalibor.Topic at Sun.COM; Mark Wielaard; Jonathan Springer; porters-dev at openjdk.java.net; Joe.Darcy at Sun.COM Subject: RE: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- crossdevelopment?? On Wed, 2008-09-24 at 11:18 -0400, Barnes, Richard wrote: > Dalibor, Mark, and Jonathan, > > Thank you for your responses to my question about cross development. I > think we will follow the suggestions that involve using a remote JDK for > the Java portion of the port. That will hopefully avoid any problems of > distinguishing between host and target in the Makefiles and xml files in > the porting base. I can only talk about the JDK portion, because I use a different VM on cross-compiled platforms, but cross-compiling the JDK works perfectly ?(except one small glitch). I could give you some hints if that helps. - Christian From twisti at complang.tuwien.ac.at Tue Sep 30 04:37:00 2008 From: twisti at complang.tuwien.ac.at (Christian Thalinger) Date: Tue, 30 Sep 2008 13:37:00 +0200 Subject: FW: Porting OpenJDK 6 to Stratus OpenVOS on IA32 -- crossdevelopment?? In-Reply-To: References: Message-ID: <1222774620.8675.13.camel@cthalinger> On Wed, 2008-09-24 at 14:07 -0400, Barnes, Richard wrote: > I would be happy to hear from you. One thing I work with is ALT_COMPILER_PATH to set the cross-compiler. Setting that variable correctly should give you native libraries for your target, while the Java portions are compiled with your host compiler (e.g. x86_64-linux). - Christian