![gcc for mac 10.8 gcc for mac 10.8](https://slideplayer.com/slide/13313710/80/images/3/xCode+Offers+A+powerful+IDE+Command+line+tools%3A+g%2B%2B+and+gcc+1-3+3.jpg)
mpc-x.x.x/configure -disable-shared -with-gmp=$MYPREFIX -with-mpfr=$MYPREFIX -prefix=$MYPREFIXīuild gcc (as much as possible) cd rx-gcc mpfr-x.x.x/configure -disable-shared -with-gmp=$MYPREFIX -prefix=$MYPREFIX gmp-x.x.x/configure -prefix=$MYPREFIX -disable-werror binutils-x.x.x/configure -prefix=$MYPREFIX -target=rx-elf
![gcc for mac 10.8 gcc for mac 10.8](https://support.moonpoint.com/os/os-x/Xcode-install/xcode_welcome.png)
I use make -j4 instead of a simple make to speed up making on a multicore / hyperthreaded CPU (which most Macs have).This is where the finished builds will be installed. For $MYPREFIX I used /usr/local/rx-elf, but use whatever suits yourself.After that you should have a directory structure like this: ~/Desktop/rx-elf/ (In brackets is the version I used for this, other versions will probably work as well.)įor every tool, create a build directory named rx-xxx. Download sources and create working directoriesĭownload and extract the following sources. This post for Linux on the Renesas forums basically includes everything mentioned here, but with a lot of overhead and not very well formatted, however head there if you want some more explanations on the options used.Īlso thanks to Andy K.
![gcc for mac 10.8 gcc for mac 10.8](http://www-scf.usc.edu/~csci104/installation/gccmac_copysystem.png)
Gcc for mac 10.8 mac os#
With this method I was able to compile a toolchain for RX on Mac OS 10.8.2. If you google around, there are some guides on building gcc for RX, but none of them is really concise.