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.
Solved! Go to Solution.
Found out this was due to a corruption in my installation:
the folder C:\Freescale\Freescale_MQX_4_1\mqx\source\bsp\twrk60n512\gcc_arm was missing from my mqx installation, along with the 'initflash.ld' stored within.
Restoring this from another computer led to the libraries correctly building and I was able to build the 'hello2' example and run it sucessfully
Found out this was due to a corruption in my installation:
the folder C:\Freescale\Freescale_MQX_4_1\mqx\source\bsp\twrk60n512\gcc_arm was missing from my mqx installation, along with the 'initflash.ld' stored within.
Restoring this from another computer led to the libraries correctly building and I was able to build the 'hello2' example and run it sucessfully
Hi,
Thank you for share your solution.
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------