Thanks very much, It really works after correct some mips-elf-gcc/ld etc symlinks. In addition, I notice http://www.nuttx.org/Documentation/NuttX.html say gnu toolchains based on buildroot for many architectures. So for AVR gcc toolchains, I just found https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers , but not right for nuttx. Do I need to build based on builtroot?
Abdelatif Guettouche <abdelatif.guettou...@gmail.com> 于2020年1月16日周四 下午8:57写道: > Hi Haitao, > > You can use this https://github.com/PinguinoIDE/pinguino-compilers > Even though it hasn't been updated for years, it does the job. > > On Thu, Jan 16, 2020 at 1:46 PM Haitao Liu <liugu...@gmail.com> wrote: > > > > Hi, Greg, may I ask where you find the right mips gcc toolchain? > > I haven't found an official prebuilt mips gcc toolchain yet(mips.com > > connect failed here). Or build it from source code. > > > > Gregory Nutt <spudan...@gmail.com> 于2020年1月9日周四 上午11:55写道: > > > > > > > > > Thanks, I think we can firstly get start in Linux and Windows. Then > > > > consider how to setup Mac later, donate slave or other. > > > > Two other question, nuttx uses some cross compile toolchains etc. In > > > > addition, Cygwin or MinGW is in need once nuttx built under Windows > > > slaves. > > > > Should we ask for Apache Infra to help install in slave machines? > > > > > > MinGW is MSYS2, right? I use both Cygwin and MSYS2, they are a little > > > different. > > > > > > There is usually a small number of people using some form of BSD, > NetBSD > > > or FreeBSD. Most macOS build issues are due to the fact that macOS > uses > > > the BSD coreutils which are not 100% compatible with GNU coreutils. I > > > suspect you could substitute FreeBSD for macOS and also catch most if > > > not all macOS build issues. > > > > > > In the past, there have been users on Solaris and HP-UX, but I don't > > > think we need to go there now. > > > > > > Which targets do you plan to build? I routinely build all ARM targets > > > (419 configurations and that omits several that are more difficult to > > > automate), but we should also consider PIC32 and and Simulator. PIC32 > > > would require a MIPS toolchain. There are many other architectures but > > > most do not warrant investing a lot of test effort. Renesas RX65N, > > > RISC-V, ESP32, AVR might be feasible because they also use GCC > > > toolchains and do get used. Some of the others do not use GCC or have > > > much less use. > > > > > > There have been IAR tools used with ARM in the past. There have been > > > requests for Mikroelektronika tool support in the past, but that was > > > never implemented. SDCC and ZiLOG tools are used for some > > > architectures. I think we can ignore all those for now. > > > > > > Greg > > > > > > > > > > > > > > > >