Book Image

OpenJDK Cookbook

Book Image

OpenJDK Cookbook

Overview of this book

Table of Contents (20 chapters)
OpenJDK Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring cross-compilation between ARM and x86


Though many of the recent ARM devices have great performance and the same core numbers, as their desktop fellows, there are always those whose performance is not sufficient enough to do complicated work in a reasonable amount of time. Don't want to be bored by endless hours of compilation? Use OpenEmbedded builds. OpenEmbedded is a build framework to create Linux distributions and can cross-compile for a large variety of architectures.

Getting ready

We will need a real or emulated ARM device with Linux installed on it. The following recipes are primarily for the deb-based distributions, but the general idea remains the same for any ARM-based device that runs Linux kernel with GNU-based tools.

Also, we will need another device with Linux, or Windows with Cygwin installed, to do the main compilation job.

This recipe also assumes that you will use the deb-based distributions. If you are using the ebuild-based distributions, use their own cross-compile...