]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ReleaseNotes.txt
More info on compiling with Cygwin.
[mirror_edk2.git] / ReleaseNotes.txt
index 0efa80764ade564aa957e69168762c5edddd8e76..d10f1efd0193c5dbe39afcb32d22a7e595c799c6 100644 (file)
@@ -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.\r
 It may be downloaded from sun.com.\r
 \r
 the Java JDK. The version that was used was jdk-1_5_0_07-linux-amd64-rpm.bin.\r
 It may be downloaded from sun.com.\r
 \r
+-----------------------------------------\r
+A Word on compiling under Cygwin with gcc\r
+-----------------------------------------\r
+\r
+Cygwin is a POSIX style operating environment for Windows. It is possible to\r
+compile the EDK 2 using gcc and cygwin. There are a few extra steps necessary\r
+to make this happen. There is a JNI (Java Native Interface) library in the\r
+Tools.  In order to compile this under Cygwin, the 'linux' java headers must be\r
+installed to the $JAVA_HOME dir on the windows system. To accomplish this, you\r
+must install the JDK on a linux system, and then copy\r
+linux:$JAVA_HOME/include/linux/ to windows:$JAVA_HOME/include. These are really\r
+typedefs needed by gcc.\r
+\r
+Compiling under cygwin is slow, because the underlying file accesses are slow\r
+in cygwin. For this reason, we do not encourage the use of cygwin. A true unix\r
+system will be a superior choice for those wishing to compile with gcc.\r
+\r
+Make sure that you select the e2fsprogs development package when you install\r
+cygwin. It is necessary for the GenFvImage tool.\r
+\r
 -----------------------\r
 Notes on Documentation\r
 -----------------------\r
 -----------------------\r
 Notes on Documentation\r
 -----------------------\r