Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 301
ipatch Avatar asked Apr 01 '14 03:04

ipatch


1 Answers

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.

like image 181
ipatch Avatar answered Dec 24 '22 22:12

ipatch