If someone is in fact working hard on the issue, please do not take offense. OpenJDK has plans to add clang support in the future, and work is being done. The problem is that Xcode 5 uses clang and has no support for gcc anymore. In our defense, we could say that it should be possible to build with the The right version of Xcode, and we failed at that. Come to think of it, it’s actually a little bit embarrassing. no, keeping CCĬonfigure: The C compiler (located as /usr/bin/gcc) does not seem to be the required GCC compiler.Ĭonfigure: The result from running with -version was: "Configured with: -prefix=/Applications/Xcode-5.0.app/Contents/Developer/usr -with-gxx-include-dir=/usr/include/c++/4.2.1"Ĭonfigure: error: GCC compiler is required. usr/bin/gccĬhecking if CC is disguised ccache. Nah, why would Apple break backwards compatibility? We should just try it regardless, nobody will get hurt either way:Ĭonfigure: Resolving CC (as /usr/bin/gcc) failed, using /usr/bin/gcc directly.Ĭhecking resolved symbolic links for CC. The OS is going to helpfully offer you to install the latest version. And when you require Xcode for the first time, Have a new device, which comes with Mavericks by default. The likelihood of this increases greatly if you Well, you might already have Xcode of the wrong version installed. Sounds very promising and easy, right? What could possibly go wrong? All You Had To Do Was Follow The Damn Train, CJ! Make sure you get the right Xcode version. Install Xcode 4.5.2 and also install the “Command line tools” found under the preferences pane “Downloads”. For OS X, however, we have just two sentences. The funny thing is that the manual has around 10 lines for Linux,Īround 40 for Solaris, and a couple of pages for Windows. The required version is ≥ 1.7.0_7 (but not JDK 8). Which contains the detailed instructions on how to build OpenJDK. Our shiny new sourcebase, we will observe that in the root directory there lies a file named ![]() Yourself unable to reproduce some of the problems, the chances are that things have been fixed. The most recent revision at the time this article was written was 933:4f8fa4724c14. (especially if you are a MacPorts user)… But anyway, we have some cloning to indulge in. If you are not using it, you should probably start doing so It can be installed from homebrew, which is the awesome package manager for OSX All you need is a mercurial installation. ![]() The first thing we have to do is get the source code. I recommend you to at least skim the whole of it. To have a better understanding of what’s going on You may or may not encounter the same issues as I have. I cannot guarantee that it will work in every single case, If you are not interested in the latter, there’sĪ TL DR version available. This article is a mix of building instructions and my Adventure Log. ![]() One of my latest is building OpenJDK on Mac OS X Mavericks. Everyone enjoys some good Adventure from time to time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |