How to build GCC 4.8.x on Mac OS X host for MIPS target

♀尐吖头ヾ 提交于 2019-12-12 08:27:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!