Why is MQX4.2 not compiling in Windows?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why is MQX4.2 not compiling in Windows?

4,256 Views
m4l490n
Contributor V

I'm trying to build the "hello" example for the FRDMK64F board but I'm getting this:

 

PS C:\Freescale\mqx4.2\mqx\examples\hello\build\make\hello_frdmk64f> .\build_gcc_arm.bat
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
mingw32-make: *** INTERNAL: readdir: No such file or directory
. Stop.
Press any key to continue . . .
Press any key to continue . . .

 

But I'm not sure why. I have configured the TOOLCHAIN like this in the global.mak file:

 

ifeq ($(TOOL),gcc_arm)
GCC_VERSION ?=10.2.1
TOOLCHAIN_ROOTDIR = C:/nxp/MCUXpressoIDE_11.4.0_6237/ide/tools
endif

 

 

What am I missing?

 

 

0 Kudos
Reply
4 Replies

4,056 Views
Huey1
Contributor I

Hey! And what kind of Windows do you have? I am a work time developer, maybe I can help. We faced such a situation. 

4,052 Views
mmalagon
Contributor II

@Huey1 thanks for jumping in!

I'm on windows 10 enterprise Version 21H1

Just so you know, I'm getting this when running mingw32-make --version

GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

And this from running which mingw32-make

/c/MinGW/bin/mingw32-make

So the program is definitely on my system. I just don't know what else does stupid windows wants.

0 Kudos
Reply

4,251 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @m4l490n :

 

From the release note, the development tools for MQX 4.2 is :

danielchen_0-1630973439519.png

...

 

MCUXpresso IDE is not in the list.

MQX v5 can support MCUXpresso IDE.

 

Regards

Daniel

0 Kudos
Reply

4,241 Views
m4l490n
Contributor V

@danielchen thanks for helping.

I'm not trying to compile MQX4.2 using MCUXpresso IDE, only trying to compile it using the arm-none-eabi-gcc version that gets installed by MCUXpresso IDE which by the way I can totally do in Linux by having this configuration in global.mak:

ifeq ($(TOOL),gcc_arm)
GCC_VERSION=10.2.1
TOOLCHAIN_ROOTDIR = /usr/local/mcuxpressoide-11.4.0_6237/ide/tools
endif

 

So I know this shall work, but my problem is that it doesn't work on windows and I don't know why.

0 Kudos
Reply