Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7027910

Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • infrastructure
    • 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

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: