• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Port: MacOSX
  3. Main
  4. Mac OS X Port Development
  5. Incremental Building

Page History

Versions Compared

Old Version 7

changes.mady.by.user Bino George

Saved on Nov 02, 2011

compared with

New Version Current

changes.mady.by.user Bino George

Saved on Nov 02, 2011

  • Previous Change: Difference between versions 6 and 7
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Setup these environment variables to do iterative development of a particular module, AWT for example (avoid having to build the whole JDK)

Code Block
export JDK7_BASE=<path to your local JDK7 copy>
export JDK7_BUILD=$JDK7_BASE/build
export ALT_OUTPUTDIR=$JDK7_BUILD/macosx-universal
export ALT_BOOTDIR=$ALT_OUTPUTDIR/j2sdk-image/1.7.0.jdk/Contents/Home/
export ALT_JDK_IMPORT_PATH=$ALT_BOOTDIR
cd $JDK7_BASE/jdk/make/sun/awt/
make

To run your changes, prepend the bootclasspath, and set DYLD_LIBRARY_PATH:

Code Block
export _JAVA_OPTIONS=-Xbootclasspath/p:$JDK7_BUILD/macosx-universal/classes/
export DYLD_LIBRARY_PATH=$JDK7_BUILD/macosx-universal/lib/
$JAVA_HOME/bin/java -jar /Developer/Extras/Java/JFC/SwingSet2/SwingSet2.jar

More helpful suggestions to decrease your build time:

  • http://blogs.oracle.com/kto/entry/faster_openjdk_build_tricks
Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 177, "requestCorrelationId": "3d8a004c7333cfe7"}