Home  >  Q&A  >  body text

c++ - Windows 10兼容的gmake

我使用GCC-ARM-Embedded(arm-none-eabi-gcc)编译mbed的MCU工程。因为它仅仅是CC,gmake之类的工具没有。在Windows XP上,我采用WinAVR-GCC-2008内置的gmake来配合arm-none-eabi-gcc工作。

然而迁移到Windows10之上后,这种方法出现错误,直接无法启动并报错。然而,其他GnuWin32之类的太老,而且mbed文档中明确说Cygwin之类的不支持。而我的Windows 10不带Unix子系统。

实际上,在Ubuntu虚拟机中,make/gcc齐全的环境中,mbed工程也报一个另外一个错误。现在不得不在Windows XP中工作。

请问大家有没有Windows 10兼容的gmake工具与环境?小巧一点儿。

ringa_leeringa_lee2765 days ago656

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-17 14:52:58

    My understanding is that you have a cross compiler arm-none-eabi-gcc that runs on windows, and building requires a gun make. Now Windows 10 cannot start WinAVR-GCC-2008, the IDE with the gmake tool.

    My understanding is that arm-none-eabi-gcc can be used directly, then you can install Cygwin, which contains gun make. When making, cc points to arm-none-eabi-gcc. You can try

    reply
    0
  • Cancelreply