Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread Dan Xu
Adding core-libs-dev On 04/17/2013 04:47 PM, Dan Xu wrote: Hi, As for the sourcecodes for mac platform, it has a special place holding native and java codes for jdk, jdk/src/macosx/native/jobjc. I wonder how those codes are builtand whether its compilation process has any special handling. T

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread David Holmes
Hi Dan, I don't quite understand the question but all native code building is handled via jdk/makefiles/CompileNativeLibraries.gmk which in turn utilizes the set up from /common/makefiles/NativeCompilation.gmk HTH David On 18/04/2013 9:51 AM, Dan Xu wrote: Adding core-libs-dev On 04/17/20

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread Dan Xu
Hi David, Under src/macosx/native/jobjc folder, it contains not only native *.m source files, but also *.java files. If you check the build results in build/macosx-x86_64-normal-server-release/jdk folder, it contains some build results specific for jobjc, say gensrc_jobjc/, gensrc_headers_job

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-17 Thread David Holmes
On 18/04/2013 10:50 AM, Dan Xu wrote: Hi David, Under src/macosx/native/jobjc folder, it contains not only native *.m source files, but also *.java files. If you check the build results in build/macosx-x86_64-normal-server-release/jdk folder, it contains some build results specific for jobjc, sa

Re: What is the Build Process for Codes inside jdk/src/macosx/native/jobjc

2013-04-18 Thread Erik Joelsson
Hello Dan, These sources are indeed treated separately. I don't actually know why, but they were in the old build. (There the native was compiled as an XCode project and the java code with Ant). When converting to the new build, we strived to keep differences in build output to a minimum. This