Rev 5330 | 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)]$(AA_PRE)if [ ! -f $(GCC_CC) ] ; then \$(echo) "[$(GBE_MACHTYPE)] (E) GCC Compiler not found: $(GCC_CC)"; \exit 1; \fiifdef 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#