view README @ 275:2f7da76bdc69

author onazarkina
date Fri, 09 Sep 2016 13:20:20 +0300
parents 7e28d40db785
line wrap: on
line source

This file should be located at the root of the device-io OpenJDK Mercurial repository.

People unfamiliar with Mercurial should read the first few chapters of
  the Mercurial book:

Simple Build Instructions for the Raspberry Pi:

  The Device I/O build is currently supoorted as a cross-compile on a Linux x86 host for the Raspberry Pi.

  Required tools: Linaro GCC 4.7.2 ARM toolchain, JDK 8, GNU make 3.81 or newer

  export PI_TOOLS=<location of Linaro GCC tool install>
  export JAVA_HOME=<location of JDK8 install>

To make build for i386 cpu arch on x86-64 platform following flags need to be set:
   export USER_C_FLAGS="-march=$CPU_ARCH -m32"
   export USER_CXX_FLAGS="-march=$CPU_ARCH -m32"
   export USER_LD_FLAGS="-march=$CPU_ARCH -m32"

The resulting Device I/O library files should be found in build/jar and build/so