I have a host compiler(X86_64) GCC 4.6.3 & Target compiler(MIPS) GCC 4.5.3,
Is there a way to use the host compiler's front-end along with target compiler's back-end?
My question may be a bit weird, but reason for asking this is to use the latest C++11 standards while coding for embedded platforms where the target compiler still lags to support these features.
(I'm assuming all these C++11 features are implemented in compiler front-end & nothing related to CPU specific back-end)
Also is it possible to use LLVM + GCC combination for this requirement?
(Any suggestions/tips appreciated!!)
EDIT: (Added possible options known to me!)
- Getting the latest toolchain from chip vendtor (Time consuming)
- Building my own toolchain from GCC source (3rd party library compatibility issues)