SK-AM62A-LP: How to use gmake on Windows 11

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: C7000-CGT

Tool/software:

Hi experts,

I'm trying to build AM62Ax MCU+ SDK 11.01.00 on Windows 11, following the instructions in "AM62Ax MCU+ SDK: EVM Setup" but I get the following error.

C:\ti\mcu_plus_sdk_am62ax_11_01_00_16>gmake -sj4 all
'gmake' is not recognized as an internal or external command,
operable program or batch file.

Q: Has anyone used gmake on Windows 11? Could you please tell me if there is a solution?

I should have been able to set the installation environment variables for the GCC AARCH64 Compiler, C7000-CGT Compiler Toolchain, Python3, OpenSSL, and TI CLANG Compiler Toolchain, following the instructions in "AM62Ax MCU+ SDK: Download, Install and Setup SDK and Tools"

I was able to use gmake without any problems on Windows 10.

Best regards,
O.H

  • Hi O.H.

    From the above it looks like you either don't have gmake installed on your system or you haven't added its path to Environment variable.

    Please check the gmake tool is installed in the system or the path is added to the environment variable.

    Regards,

    Tushar

  • Hi Tushar,

    Thank you for your reply.

    Using MSYS2, I can now run "make -sj4 all." If I'm doing this incorrectly, please let me know.

    1. Install MSYS2
    2. Run "pacman -S make" from MSYS2
    3. Add C:\msys64\usr\bin to your Windows PATH

    Best regrads,
    O.H

  • Hi O.H.

    I have never tried MSYS2, but looks like this has the gmake/make tool which is all we need. The above steps looks okay.

    Using MSYS2, I can now run "make -sj4 all.

    Thanks for above confirmation. If there are no open queries, we can close this thread.

    Feel free to raise new threads if required.

    Regards,

    Tushar

  • Hi Tushar,

    Correction.

    All I needed to do was set the environment variables for gmake.exe in CCS. I was able to run it with "gmake -sj4 all".
    AM62x MCU+ SDK: Using SDK with Makefiles

    This may have been due to my environment, but I was unable to completely build in MSYS2.
    If this still doesn't work and I have more information, I will add it here.

    Best regards,
    O.H

  • Hi O.H.

    If you are still facing issues. Please provide complete details here to resolve it faster. For me it looks like you are now able to build the SDK using gmake.

    Regards,

    Tushar