Rev 227 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
################################################################################ File: TOOLSET/gcc# Contents: GCC defines###############################################################################toolset = gccs = asmo = oa = aso = soexe =.SUFFIXES: .asm## Sanity test the compiler version and type# An attempt to ensure that developers are not mixing and matching# Not all compilers are tested, only those used to build components# that we deploy.#.PHONY: gccgcc:@$(echo) [Toolset GCC/$(GCC_TARGET)]ifdef GCC_EVERSION$(AA_PRE)if [ "$(GCC_EVERSION)" != "$(GCC_VERSION)" ] ; then \$(echo) "[$(GBE_MACHTYPE)] (E) GCC version is not correct."; \$(echo) "[$(GBE_MACHTYPE)] (E) Expecting:\"$(GCC_EVERSION)\". Got:\"$(GCC_VERSION)\"."; \exit 1; \fiendififdef GCC_EMACHINE$(AA_PRE)if [ "$(GCC_EMACHINE)" != "$(GCC_MACHINE)" ] ; then \$(echo) "[$(GBE_MACHTYPE)] (E) GCC machine type is not correct.";\$(echo) "[$(GBE_MACHTYPE)] (E) Expecting:\"$(GCC_EMACHINE)\". Got:\"$(GCC_MACHINE)\".";\exit 1; \fiendif#