Re: Building OpenJDK on Mavericks (OS X 10.9)

2014-04-04 Thread 田麦
you can read this post:http://yueyemaitian.iteye.com/blog/2038304

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-18 Thread Landon Fuller
MacPorts also provides an llvm-gcc-4.2 port; I was able to use this to build OpenJDK 7u45 with minimal headache. The only gotcha was Accelerate.framework's reliance on the 'immintrin.h' header. This is a top-level compiler-shipped header that imports subheaders for the intrinsics supported by t

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-11 Thread Weijun Wang
james.las...@oracle.com has a solution to it: Everything built except for one Apple header. /System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSUserNotification.h:16 NSUserNotificationActivationTypeReplied NS_AVAILABLE(10_9, NA) = 3 I changed to NSUserNotificationActivat

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-11 Thread Staffan Larsen
On 11 dec 2013, at 19:59, William Moore wrote: > I don’t understand why it is trying to compile Solaris files but I have to go > and do some other things now, so I’ll come back and look at it again later. They aren’t really solaris files. The files in the solaris directory are shared across a

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-11 Thread William Moore
Yes it does. Unfortunately it didn’t work for me: > /Users/william/Programming/Java/jdk8/jdk/src/solaris/native/common/jni_util_md.c:51: > warning: incompatible implicit declaration of built-in function 'strcat' > In file included from > /System/Library/Frameworks/Foundation.framework/Headers/Fo

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-11 Thread David DeHaven
That seems to be the best solution if you have Xcode 5 installed, just using xcode-select doesn't always work. -DrD- > What I did is to save a copy of usr dir inside Xcode 4 and run > > bash configure --with-tools-dir=/saved/xcode4/usr/bin/ ... > > --Max > > On 12/10/13, 22:38, Staffan Lars

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-10 Thread Weijun Wang
What I did is to save a copy of usr dir inside Xcode 4 and run bash configure --with-tools-dir=/saved/xcode4/usr/bin/ ... --Max On 12/10/13, 22:38, Staffan Larsen wrote: On 10 dec 2013, at 14:48, William Moore wrote: Thanks David Maybe I can do something with Mountain Lion running in a

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-10 Thread William Moore
OK, I’ll try that too. William On 10 Dec 2013, at 3:38pm, Staffan Larsen wrote: > > On 10 dec 2013, at 14:48, William Moore wrote: > >> Thanks David >> >> Maybe I can do something with Mountain Lion running in a virtual machine. >> I’ll investigate that. > > Having multiple XCode version

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-10 Thread Staffan Larsen
On 10 dec 2013, at 14:48, William Moore wrote: > Thanks David > > Maybe I can do something with Mountain Lion running in a virtual machine. > I’ll investigate that. Having multiple XCode versions installed is also a work-around. /Staffan > > William > > On 9 Dec 2013, at 6:26pm, David DeH

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-10 Thread William Moore
Thanks David Maybe I can do something with Mountain Lion running in a virtual machine. I’ll investigate that. William On 9 Dec 2013, at 6:26pm, David DeHaven wrote: > >> Back in September when I had Mountain Lion (OS X 10.8) I was able to build >> my own version of OpenJDK 7 Update 40. >>

Re: Building OpenJDK on Mavericks (OS X 10.9)

2013-12-09 Thread David DeHaven
> Back in September when I had Mountain Lion (OS X 10.8) I was able to build my > own version of OpenJDK 7 Update 40. > > Now I have Mavericks (OS X 10.9) and it fails to build Hotspot with the error: > >> clang: error: argument unused during compilation: '-fcheck-new’ > > If I comment out the

Building OpenJDK on Mavericks (OS X 10.9)

2013-12-08 Thread William Moore
Hi Back in September when I had Mountain Lion (OS X 10.8) I was able to build my own version of OpenJDK 7 Update 40. Now I have Mavericks (OS X 10.9) and it fails to build Hotspot with the error: > clang: error: argument unused during compilation: '-fcheck-new’ If I comment out the setting of