From 0a75428c1bce476c621fa587effa753accfc1ba1 Mon Sep 17 00:00:00 2001 From: bbahnsen Date: Wed, 26 Jul 2006 18:31:53 +0000 Subject: [PATCH] More info on compiling with Cygwin. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1105 6f19259b-4bc3-4df7-8a09-765794883524 --- ReleaseNotes.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 0efa80764a..d10f1efd01 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -208,6 +208,26 @@ If you are running on x86_64 Linux, then you should install a 64 bit version of the Java JDK. The version that was used was jdk-1_5_0_07-linux-amd64-rpm.bin. It may be downloaded from sun.com. +----------------------------------------- +A Word on compiling under Cygwin with gcc +----------------------------------------- + +Cygwin is a POSIX style operating environment for Windows. It is possible to +compile the EDK 2 using gcc and cygwin. There are a few extra steps necessary +to make this happen. There is a JNI (Java Native Interface) library in the +Tools. In order to compile this under Cygwin, the 'linux' java headers must be +installed to the $JAVA_HOME dir on the windows system. To accomplish this, you +must install the JDK on a linux system, and then copy +linux:$JAVA_HOME/include/linux/ to windows:$JAVA_HOME/include. These are really +typedefs needed by gcc. + +Compiling under cygwin is slow, because the underlying file accesses are slow +in cygwin. For this reason, we do not encourage the use of cygwin. A true unix +system will be a superior choice for those wishing to compile with gcc. + +Make sure that you select the e2fsprogs development package when you install +cygwin. It is necessary for the GenFvImage tool. + ----------------------- Notes on Documentation ----------------------- -- 2.39.2