-
Enhancement
-
Resolution: Fixed
-
P3
-
7
-
None
-
b136
-
generic
-
generic
-
Verified
Basic support for cross-compilation, plus flags/settings etc for basic ARM and PPC support in the shared open code. Cross-compilation works as follows:
- you must set the ALT_COMPILER_PATH and ALT_OPENWIN_HOME to point to your cross-compiler (you'll also need freetype configured correctly)
- CROSS_COMPILE_ARCH should be set to the architecture you are building for eg ARM, PPC
- EXTRA_CFLAGS can be used to pass cross-compilation specific compile options
- HOST_CC is a compiler that can produces binaries that can run on the build host (used in a few parts of the JDK build). This defaults to gcc on Linux but must be explicitly set elsewhere
- Some build features such as freetype-check and binary-file-verification are disabled as they don't apply when cross-compiling
- you must set the ALT_COMPILER_PATH and ALT_OPENWIN_HOME to point to your cross-compiler (you'll also need freetype configured correctly)
- CROSS_COMPILE_ARCH should be set to the architecture you are building for eg ARM, PPC
- EXTRA_CFLAGS can be used to pass cross-compilation specific compile options
- HOST_CC is a compiler that can produces binaries that can run on the build host (used in a few parts of the JDK build). This defaults to gcc on Linux but must be explicitly set elsewhere
- Some build features such as freetype-check and binary-file-verification are disabled as they don't apply when cross-compiling
- relates to
-
JDK-7025066 Build system changes to support SE Embedded integration
-
- Closed
-