Add an example of a mingw32 tool chain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2030 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bbahnsen 2006-11-28 16:54:15 +00:00
parent e7953f39bf
commit 16fdd1e20e
1 changed files with 34 additions and 6 deletions

View File

@ -284,6 +284,34 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4086 /OPT:REF
#################################################################################### ####################################################################################
####################################################################################
#
# MINGW32
#
# You can build a mingw32 toolchain by downloading the script package called
# x86-mingw32-build.sh from the mingw project home page. It will walk you through
# some options and explain what to do.
#
####################################################################################
*_MINGW_*_*_FAMILY = GCC
*_MINGW_IA32_CC_NAME = gcc
*_MINGW_IA32_SLINK_NAME = ar
*_MINGW_IA32_DLINK_NAME = ld
*_MINGW_IA32_ASM_NAME = gcc
*_MINGW_IA32_PP_NAME = gcc
*_MINGW_IA32_VFRPP_NAME = gcc
*_MINGW_*_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h
*_MINGW_*_DLINK_FLAGS = -nostdlib -O2 --gc-sections --dll --export-all-symbols --entry _${ENTRYPOINT}
*_MINGW_*_ASM_FLAGS = -c -imacros ${DEST_DIR_DEBUG}/AutoGen.h
*_MINGW_*_PP_FLAGS = -E -x assembler-with-cpp -include ${DEST_DIR_DEBUG}/AutoGen.h
*_MINGW_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE
*_MINGW_*_ASM_EXT = .S
*_MINGW_IA32_*_PATH = /opt/mingw/i386-mingw32/bin/
#################################################################################### ####################################################################################
# #
# Unix GCC # Unix GCC