Home
Name Modified Size InfoDownloads / Week
Tool Chain Binaries 2015-08-03
Additional Tools 2015-06-17
Patches 2014-11-12
Tool Chain Build Instructions 2014-10-21
readme.txt 2014-11-25 1.7 kB
Totals: 5 Items   1.7 kB 0
These gcc compiler binaries are built to run on any version of Windows.
They have been tested on Windows 7 x64 edition.

No libraries are included. These compilers are for EDK2 use only, and EDK2
supplies the needed libraries.

As of 11-24-2014 (SVN revision 16418), unmodified EDK2 can be built using
the Windows hosted gcc 4.4 - 4.9 tool chains available here.

The following example shows how to build ShellPkg for X64, IA32, AARCH64
and ARM from Windows using the gcc 4.9.2 compiler binaries. First,
download the compiler binaries and extract. Download EDK2. For this
example, the directory looks like:

D:\
+---edk2build
|   +---edk2
|   +---tools
|       +---gcc492-aarch64
|       +---gcc492-arm
|       +---gcc492-x86
|       +---nasm211

Set the required Windows environment variables by issuing these commands:

   set UEFI_BUILD_TOOLS=D:\edk2build\tools
   set NASM_PREFIX=%UEFI_BUILD_TOOLS%\nasm211\
   set GCC49_BIN=%UEFI_BUILD_TOOLS%\gcc492-x86\bin\
   set GCC49_DLL=%UEFI_BUILD_TOOLS%\gcc492-x86\dll\;%GCC49_BIN%
   set GCC49_ARM_PREFIX=%UEFI_BUILD_TOOLS%\gcc492-arm\bin\
   set GCC49_AARCH64_PREFIX=%UEFI_BUILD_TOOLS%\gcc492-aarch64\bin\

Issue these commands to do the builds:

   cd /d D:\edk2build\edk2
   Edk2Setup.bat
   build.exe -p ShellPkg\ShellPkg.dsc -b RELEASE -t GCC49 -n 8 -a IA32
   build.exe -p ShellPkg\ShellPkg.dsc -b RELEASE -t GCC49 -n 8 -a X64
   build.exe -p ShellPkg\ShellPkg.dsc -b RELEASE -t GCC49 -n 8 -a ARM
   build.exe -p ShellPkg\ShellPkg.dsc -b RELEASE -t GCC49 -n 8 -a AARCH64

Remember to first delete the non-SVN files from edk2\Conf if updating an
existing edk2 checkout.
Source: readme.txt, updated 2014-11-25