Provide cross-compile tools through Homebrew #53
Comments
Considering how painful it is trying to get an environment set up for this, I agree entirely. I've struggled for hours on each machine I've tried to set up trying to get everything installed and configured. |
@chrisccerami I don't have an OSX machine, so I can't do this. Have you ever done it? I wonder how hard it is. |
I haven't, but I do have an OSX machine. I can look into it at some point if no one else takes care of it first. |
I've installed on both OS X and Linux and didn't find it too troublesome. The instructions in the book worked well for me, only needing minor modification to the makefile when on OS X for I might look into setting up a formula; I've never created one before but might be a fun experience. |
I've written brew formulae for installing the x86_64-pc-elf toolchains in hawkw/homebrew-x86_64-pc-elf – you may find them useful. Do note that I've only just finished putting these together, so there may be some bugs that I've yet to work out. EDIT: Should also mention that I'm working on formulae for |
Okay, I've tested my formulae on my machine, and everything seems to work correctly. I've also opened a PR Homebrew/homebrew-core#6804 to add a formula for |
My PR for @steveklabnik, since you don't use Homebrew, would you like me to submit a PR for this issue? |
Yes please! |
Felt like I ought to mention as a brief update that I'm still working on this; I've hit some problems getting Homebrew to build |
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Custom-GCC-and-cross-compilers.md
It would be super rad if we could provide a formula rather than just the install script.
The text was updated successfully, but these errors were encountered: