Re: Building Java 7 on OS X Snow Leopard

2009-10-24 Thread Greg Lewis
On Fri, Oct 23, 2009 at 05:39:05PM +0200, Christian Thalinger wrote: > On Fri, 2009-10-23 at 16:29 +0200, Oliver Schrenk wrote: > > // get jibx, info: http://jibx.sourceforge.net/ > > // (1.2.1 didj't work for me), > > wget > > http://downloads.sourceforge.net/project/jibx/jibx/jibx-1.1.6a/jibx_1_

Re: Building Java 7 on OS X Snow Leopard

2009-10-23 Thread Christian Thalinger
On Fri, 2009-10-23 at 16:29 +0200, Oliver Schrenk wrote: > // get John's patch, not hosted anywherem get it from attachment and > unzip it > $ patch -p1 /path/to/downlods>/snowleopard.patch > $ cd .. It's available here: http://hg.openjdk.java.net/mlvm/mlvm/hotspot/raw-file/f9a6cda5b465/snowleo

Re: Building Java 7 on OS X Snow Leopard

2009-10-23 Thread Dave Cheney
It appears you have to pass make \ ALT_BOOTDIR=/Users/dave/jdk7/soylatte16-i386-1.0.3 \ JAVA_TOOLS_DIR=/Users/dave/jdk7/soylatte16-i386-1.0.3/bin \ both ALT_BOOTDIR and JAVA_TOOLS_DIR to compile. Cheers Dave On 23/10/2009, at 8:56 AM, Oliver Schrenk wrote: > Hi, > > I was following the th

Building Java 7 on OS X Snow Leopard

2009-10-22 Thread Oliver Schrenk
Hi, I was following the thread so far as I also am trying to build Java 7 on my machine. Still no luck though. I run into this error: make[4]: /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd-i586/bin/ javah: No such file or directory make[4]: *** [/Users/Oliver/Development/projects/univers

Re: Building Java 7 on OS X Snow Leopard

2009-10-07 Thread John Rose
On Oct 7, 2009, at 2:41 PM, Dave Cheney wrote: > I find this works for me. Removing the CC / CXX references from the > make line causes the printf issues whilst compiling hotspot, so I > assume that, when specified, they are working as advertised. That makes sense, from a make-ish point of vi

Re: Building Java 7 on OS X Snow Leopard

2009-10-07 Thread Brett Hoerner
On Wed, Oct 7, 2009 at 2:41 PM, Dave Cheney wrote: > I find this works for me. Removing the CC / CXX references from the make > line causes the printf issues whilst compiling hotspot, so I assume that, > when specified, they are working as advertised. > >  CC="gcc-4.0" \ >  CXX="g++-4.0" \ >  HOTS

Re: Building Java 7 on OS X Snow Leopard

2009-10-07 Thread Dave Cheney
I find this works for me. Removing the CC / CXX references from the make line causes the printf issues whilst compiling hotspot, so I assume that, when specified, they are working as advertised. Cheers Dave -- crimson:~ dave$ cat jdk7/bsd-port/build.sh export LC_ALL=C export LANG=C unset CL

Re: Building Java 7 on OS X Snow Leopard

2009-10-07 Thread John Rose
Are you sure you're getting the right compilers? I haven't said this yet, but I found I had to hack harder to override them: export ALT_COMPILER_PATH=$(pwd -P)/ALT_COMPILER_PATH/ ls -la ALT_COMPILER_PATH/ total 24 drwxr-xr-x 5 jrose staff 170 Oct 3 16:59

Building Java 7 on OS X Snow Leopard

2009-10-07 Thread Brett Hoerner
Hi guys, Sorry I'm adding more to this (as some of you seem to have it working now) but I'm trying to round up the process of successfully building Java 7 on Snow Leopard into one place so it can put on a wiki or blogged or something. 1) clone and update your local bsd-port 2) apply John Rose's s