Skip to content

Commit

Permalink
Added aarch64-rpi3-elf.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Nov 27, 2017
1 parent b4704be commit 2f9fca6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,21 @@ crosscompilers meant to run on OS X. Install this tap using the following
command:

$ brew tap SergioBenitez/osxct
$ brew install toolchain-name

## Available Toolchains

The following is a list of currently available toolchains:

* `x86_64-none-elf`: GCC 5.2.0, binutils 2.25.1, unhosted
* `x86_64-none-elf`
- Architecture: x86-64, bare metal, unhosted
- Object Type: ELF
- GCC: 5.2.0
- binutils: 2.25.1

* `aarch64-rpi3-elf`
- Architecture: ARM AArch64, bare metal, unhosted
- Object Type: ELF
- GCC: 7.2.0
- binutils: 2.29.1
- Also Known As: `aarch64-none-elf`
14 changes: 14 additions & 0 deletions aarch64-rpi3-elf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require "FileUtils"

class Aarch64Rpi3Elf < Formula
desc "AArch64 ELF toolchain and cross-compiler for OS X"
homepage "https://github.com/SergioBenitez/homebrew-osxct"
url "https://github.com/SergioBenitez/homebrew-osxct/releases/download/aarch64-rpi3-elf/aarch64-rpi3-elf.tar.gz"
version "7.2.0"
sha256 "8b8cd40d78d79f5fc9e8a17bf88204361c61ef0c209b4ab13270f16111d128ef"

def install
ohai "Copying binaries..."
cp_r %w[aarch64-rpi3-elf bin lib libexec], "#{prefix}/"
end
end

0 comments on commit 2f9fca6

Please sign in to comment.