diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-07-07 23:54:45 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-07-07 23:54:45 +0100 |
commit | 6c2aaaad060f00797eac9d03ac77fb8856271669 (patch) | |
tree | 4c2cda29bf346992d71aecada0340232f4abe2ad | |
parent | 36247e0947699a56d5bc51d48188b6dda1815587 (diff) | |
download | Nim-6c2aaaad060f00797eac9d03ac77fb8856271669.tar.gz |
Added support for ARM.
-rwxr-xr-x | compiler/nimrod.ini | 2 | ||||
-rwxr-xr-x | tools/niminst/buildsh.tmpl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/compiler/nimrod.ini b/compiler/nimrod.ini index da87d957d..e8ca40ab8 100755 --- a/compiler/nimrod.ini +++ b/compiler/nimrod.ini @@ -3,7 +3,7 @@ Name: "Nimrod" Version: "$version" ; Windows and i386 must be first! OS: "windows;linux;macosx;freebsd;netbsd;openbsd;solaris" -CPU: "i386;amd64;powerpc64" # ;sparc +CPU: "i386;amd64;powerpc64;arm" # ;sparc Authors: "Andreas Rumpf" Description: """This is the Nimrod Compiler. Nimrod is a new statically typed, imperative programming language, that supports procedural, functional, object diff --git a/tools/niminst/buildsh.tmpl b/tools/niminst/buildsh.tmpl index a9c99a404..f35a8f221 100755 --- a/tools/niminst/buildsh.tmpl +++ b/tools/niminst/buildsh.tmpl @@ -94,6 +94,8 @@ case $ucpu in mycpu="powerpc" ;; *mips* ) mycpu="mips" ;; + *arm*|*armv6l* ) + mycpu="arm" ;; *) echo "Error: unknown processor: $ucpu" exit 1 |