[threeten-dev] Extra Cygwin setup info

Roger Riggs Roger.Riggs at Oracle.com
Thu Jan 10 05:56:52 PST 2013


Sorry, I forgot that openjdk mailing lists delete attachments.

Roger

Inline
------------------------------------------------------------------------

This document describes the steps to build OpenJdk on Windows with the 
new build system, which is much faster than the existing build.


      Prerequisites

    * Visual Studio
      Install Visual Studio 2010 Professional, Only VC++ is required.

    * Cygwin
      Install Cygwin and related packages.

      Binary Name 	Category 	Package 	Description
      ar.exe 	Devel 	binutils 	The GNU assembler, linker and binary
      utilities
      make.exe 	Devel 	make 	The GNU version of the 'make' utility built
      for CYGWIN
      m4.exe 	Interpreters 	m4 	GNU implementation of the traditional
      Unix macro processor
      cpio.exe 	Utils 	cpio 	A program to manage archives of files
      gawk.exe 	Base 	gawk 	Pattern-directed scanning and processing
      language
      file.exe 	Utils 	file 	Determines file type using 'magic' numbers
      zip.exe 	Archive 	zip 	Package and compress (archive) files
      unzip.exe 	Archive 	unzip 	Extract compressed files in a ZIP archive
      free.exe 	System 	procps 	Display amount of free and used memory
      in the system

    * Mercurial
      Install Mercurial and forest extension.

    * External Libraries
      The only external library needed on Windows is *freetype*. As
      there is no default directory for it, you must specify it
      explicitly in the configuration using option, --with-freetype. Be
      sure to get the 64-bit version if building the 64-bit jdk (64-bit
      is the default).


      Getting Source Code

|> hg fclone http:| |//hg.openjdk.java.net/jdk8/tl jdk8|


      Configuration


          Useful Options

    * --help
      Display help information.
    * --with-freetype
      Specify the path for the freetype2 package. (*Must* in Windows)
    * --with-boot-jdk
      Specify the path to Boot jdk.
    * --enable-debug


          Example


      Compilation


          Useful Targets

    * make help
      Display help information
    * make images
      Create complete j2sdk and j2re images, like the old build produced
    * make clean
      Remove all files generated by make, but not those generated by
      configure
    * make dist-clean
      Remove all files generated by both make and configure (basically
      killing the configuration)


      Note

    * Don't use ~ in the path, instead use absolute path to make
      uncygdrive.exe work properly. For example, ~/dev/Jdk/jdk8 should
      be changed to /cygdrive/c/cygwin/home/danxu/dev/Jdk/jdk8.
    * Please refer to
      http://openjdk.java.net/projects/build-infra/guide.html for more
      details.




On 01/10/2013 04:30 AM, Michael Nascimento wrote:
> Roger,
>
> The actual information is missing.
>
> Regards,
> Michael



More information about the threeten-dev mailing list