Hi,
The instructions for installing the compiler are here:
https://spinnakermanchester.github.io/common_pages/6.0.0/Compiler.html#MacOSXDev
Although this does get you to install xcode, I believe that this is so that you get the basic make install. The remaining instructions then get you to install arm-none-eabi-gcc as well, which is then actually called from the command line like that i.e. the whole arm-none-eabi-gcc not just gcc.
The “setup” script is part of the spinnaker_tools folder; I think it might be better to run “source ./setup” when in that folder to avoid it picking up some other file. Note that if you follow the instructions below, it probably won’t be necessary to run that setup script, as all the environment variables will already be set up:
https://spinnakermanchester.github.io/spinn_tools/3.4.1/index.html#SpinnakerTools
If you successfully run “make” at the end of those instructions, it suggests that all will be well.
Andrew :)
--
You received this message because you are subscribed to the Google Groups "SpiNNaker Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
spinnakeruser...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/spinnakerusers/fc143207-8ea9-4611-80a6-3b2bb451cfcan%40googlegroups.com.
Guess there is still some compatibility issue with the new Mac.
Anyway, thank you all the same!!
Clea :D
Hi,
It looks like there is no arm-none-eabi-gcc compiled for M1 processors (see e.g. https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/issues/12). I don’t know if the M1 macs support some sort of x86 virtualisation or emulation but without either that or a native compile, it isn’t likely to work – sorry!
Andrew :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/spinnakerusers/LNXP265MB0682E8CAB1CF462601C48B5EC4469%40LNXP265MB0682.GBRP265.PROD.OUTLOOK.COM.
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: arm64-apple-darwin20.3.0
And it seems that I have solved this using hombrew to install arm-none-eabi-gcc instead of Macports. Your suggestion should work too.OK, good to know it works already – thanks for letting us know!
Andrew :)
To view this discussion on the web, visit https://groups.google.com/d/msgid/spinnakerusers/472ec8b6-7911-4aa5-a286-6cf8ebefb1b2n%40googlegroups.com.