问题
I am trying to build GCC / binutils for a MIPS target platform on a Mac OS X host running (10.9) x86_64. I have downloaded the latest version of binutils and GCC to my knowledge, and I have also installed GCC 4.8.2 via homebrew.
However, so far I have been unsuccessful in building GCC / binutils for MIPS arch on a OS X host.
I tried setting the CC environment variable to point to the gcc version installed via homebrew, but that doesn't seem to fix the problem.
Has anyone created a step by step guide for this procedure?
回答1:
So I was able to get GCC built on OS X for a target architecture of MIPS. I wrote a step by step guide of the procedure here.
来源:https://stackoverflow.com/questions/22776307/how-to-build-gcc-4-8-x-on-mac-os-x-host-for-mips-target