AnsweredAssumed Answered

MQX 4.2 GCC Build fails

Question asked by David Lynch on Oct 29, 2015
Latest reply on Nov 11, 2015 by David Lynch

Building MQX 4.2 using the debian multi-arch armhf compiler fails.


There are several problems.



GCC_VERSION needs changed   


I should think that a dependence on a GCC version could be eliminated


TOOLCHAIN_ROOTDIR needs changed to



I would also think that the obsolete dependence on full path to a toolchain could be eliminated


needs eliminated from CC_FLAGS and CX_FLAGS in two places - a total of 4.


Atleast one source file - I beleive psp_types.h includes <stdint.h> and <stdbool.h>

If the toolchains that are normally being used support that with -nostdinc, they are in error.

If MQX really requires -nostdinc then the dependence on <stdbool.h> and <stdint.h> should be eliminated



Overall it was still easier to get MQX 4.2 to build with GCC than prior versions.