Details
-
Bug
-
Status: Closed
-
P4
-
Resolution: Not an Issue
-
8, 9
-
None
-
Mountain lion
-
os_x
Description
When building JDK on Mac , we are getting ,
"The C compiler (located as /usr/bin/gcc) does not seem to be the required GCC compiler".
The above message is apparently because of parsing of the command "gcc --version" which is failing as the Apple's gcc --version command output is different from the JDK configure script's expected result. So though we have gcc etc configure doesn't want to move further. We have installed XCode 5.0 and the required XCode as per JDK 8 build README is 4.5.X.
Bottom line : Parsing the gcc --version must be improved to consider all versions of GCC (or) get a workaround to find the GCC version(not sure how though).
"The C compiler (located as /usr/bin/gcc) does not seem to be the required GCC compiler".
The above message is apparently because of parsing of the command "gcc --version" which is failing as the Apple's gcc --version command output is different from the JDK configure script's expected result. So though we have gcc etc configure doesn't want to move further. We have installed XCode 5.0 and the required XCode as per JDK 8 build README is 4.5.X.
Bottom line : Parsing the gcc --version must be improved to consider all versions of GCC (or) get a workaround to find the GCC version(not sure how though).