AnsweredAssumed Answered

Linker file for MQX makefile project?

Question asked by Rael Sasiak-Rushby on Jul 15, 2014
Latest reply on Jul 16, 2014 by soledad

I'm trying to build an MQX library for KDS. So far i've managed to use mingw-make+the MQX .bat files to create a library in KDS' toolchain.

I've previously built a library for the same board in cw and noticed it built the linker file 'initflash.ld'.


Now if I try to build a demo application on gcc_arm from build_gcc_arm.bat in C:\Freescale\Freescale_MQX_4_1\mqx\examples\hello2\build\make\hello2_twrk60n512 , the cmd window complains about the missing linker file.


Any ideas why the linker file isn't being created?


changes I had to make so far in the MQX build system:

1) set gcc_arm TOOLCHAIN to "C:\Freescale\KDS_1.0.1\toolchain"

2) within gcc_arm.mak : change directories with /4.7.4/ to /4.8.0/


Update: I build the libraries for the twr40d100m and they automatically created a linker file.

Unfortunately I don't have a twr40 board, I need the libraries and linker for the twr60.