Hi,
I am trying to build a codeblocks project but always it gives me this same error arm-none-eabi-g++.exe: error: unrecognized command line option '-mwindows'
build log:
-------------- Build: Debug in ledtest (compiler: GNU GCC Compiler for ARM)---------------
arm-none-eabi-gcc.exe -mcpu=cortex-m0plus -mthumb -Wall -fno-common -g -Isrc -Ih -ID:\xyz\libmf\source -ID:\xyz\libmf\source\CMSIS_5\Device\ARM\ARMCM0plus\Include -ID:\xyz\libmf\source\CMSIS_5\CMSIS\Core\Include -ID:\xyz\liba\source -c src\testled.c -o obj\Debug\src\testled.o
arm-none-eabi-g++.exe -o bin\Debug\ledtest.elf obj\Debug\src\testled.o -mcpu=cortex-m0plus -mthumb -T ld/axm0.ld -Wl,-Map,bin/Debug/ledtest.map -lmf -la -lnosys -mwindows
In file included from D:\xyz\libmf\source/axm0f143.h:34:0,
from src\testled.c:12:
arm-none-eabi-g++.exe: error: unrecognized command line option '-mwindows'
I doubt this project has been build in linux and I am trying to run the project in Windows. Is there any way to build this project successfully on Windows codeblocks ?