From fa7f89da6f2399a048e24de896887d0ca243bde3 Mon Sep 17 00:00:00 2001 From: lhauch Date: Thu, 3 Jan 2008 21:41:41 +0000 Subject: [PATCH] modified the UNIXGCC information git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4492 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Conf/tools_def.template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 14925c2f57..e70b39f0ff 100644 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -50,16 +50,22 @@ DEFINE ELFGCC_BIN = /usr/bin # Option 1: Hard coded full path to compiler suite #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin #DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin +# # Option 2: Use an environment variable #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(IA32_PETOOLS_PREFIX) #DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(X64_PETOOLS_PREFIX) +# # Option 3: Install the compiler suite into your default paths #DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32- #DEFINE UNIXGCC_X64_PETOOLS_PREFIX = x86_64-pc-mingw32- -# Option 4: Create links under the Conf directory +# +# Option 4: Create links under the BaseTools/Bin/gcc/ARCH directory # Links needed: gcc, ar & ld -DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/Conf/gcc/ia32 -DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/Conf/gcc/x64 +#DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/Ia32 +#DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/Bin/gcc/X64 + +DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = /opt/tiano/i386-tiano-pe/i386-tiano-pe/bin +DEFINE UNIXGCC_X64_PETOOLS_PREFIX = /opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin DEFINE CYGWIN_BIN = c:/cygwin/bin DEFINE CYGWIN_BIN32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin