define sparc64 platform
This commit is contained in:
parent
5f623ea9ef
commit
1492ff33ce
4 changed files with 10 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ Platforms: """
|
||||||
windows: i386;amd64
|
windows: i386;amd64
|
||||||
linux: i386;amd64;powerpc64;arm;sparc;mips;mipsel;powerpc;powerpc64el;arm64
|
linux: i386;amd64;powerpc64;arm;sparc;mips;mipsel;powerpc;powerpc64el;arm64
|
||||||
macosx: i386;amd64;powerpc64
|
macosx: i386;amd64;powerpc64
|
||||||
solaris: i386;amd64;sparc
|
solaris: i386;amd64;sparc;sparc64
|
||||||
freebsd: i386;amd64
|
freebsd: i386;amd64
|
||||||
netbsd: i386;amd64
|
netbsd: i386;amd64
|
||||||
openbsd: i386;amd64
|
openbsd: i386;amd64
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@ type
|
||||||
# alias conditionals to condsyms (end of module).
|
# alias conditionals to condsyms (end of module).
|
||||||
cpuNone, cpuI386, cpuM68k, cpuAlpha, cpuPowerpc, cpuPowerpc64,
|
cpuNone, cpuI386, cpuM68k, cpuAlpha, cpuPowerpc, cpuPowerpc64,
|
||||||
cpuPowerpc64el, cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuMipsel,
|
cpuPowerpc64el, cpuSparc, cpuVm, cpuIa64, cpuAmd64, cpuMips, cpuMipsel,
|
||||||
cpuArm, cpuArm64, cpuJS, cpuNimrodVM, cpuAVR, cpuMSP430
|
cpuArm, cpuArm64, cpuJS, cpuNimrodVM, cpuAVR, cpuMSP430, cpuSparc64
|
||||||
|
|
||||||
type
|
type
|
||||||
TEndian* = enum
|
TEndian* = enum
|
||||||
|
|
@ -187,7 +187,8 @@ const
|
||||||
(name: "js", intSize: 32, endian: bigEndian,floatSize: 64,bit: 32),
|
(name: "js", intSize: 32, endian: bigEndian,floatSize: 64,bit: 32),
|
||||||
(name: "nimrodvm", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32),
|
(name: "nimrodvm", intSize: 32, endian: bigEndian, floatSize: 64, bit: 32),
|
||||||
(name: "avr", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16),
|
(name: "avr", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16),
|
||||||
(name: "msp430", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16)]
|
(name: "msp430", intSize: 16, endian: littleEndian, floatSize: 32, bit: 16),
|
||||||
|
(name: "sparc64", intSize: 64, endian: bigEndian, floatSize: 64, bit: 64)]
|
||||||
|
|
||||||
var
|
var
|
||||||
targetCPU*, hostCPU*: TSystemCPU
|
targetCPU*, hostCPU*: TSystemCPU
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,11 @@ case $ucpu in
|
||||||
*amd*64* | *x86-64* | *x86_64* )
|
*amd*64* | *x86-64* | *x86_64* )
|
||||||
mycpu="amd64" ;;
|
mycpu="amd64" ;;
|
||||||
*sparc*|*sun* )
|
*sparc*|*sun* )
|
||||||
mycpu="sparc" ;;
|
mycpu="sparc"
|
||||||
|
if [ "$(isainfo -b)" = "64" ]; then
|
||||||
|
mycpu="sparc64"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*ppc64* )
|
*ppc64* )
|
||||||
if [ "$myos" = "linux" ] ; then
|
if [ "$myos" = "linux" ] ; then
|
||||||
COMP_FLAGS="$COMP_FLAGS -m64"
|
COMP_FLAGS="$COMP_FLAGS -m64"
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ import
|
||||||
|
|
||||||
const
|
const
|
||||||
maxOS = 20 # max number of OSes
|
maxOS = 20 # max number of OSes
|
||||||
maxCPU = 10 # max number of CPUs
|
maxCPU = 20 # max number of CPUs
|
||||||
buildShFile = "build.sh"
|
buildShFile = "build.sh"
|
||||||
buildBatFile32 = "build.bat"
|
buildBatFile32 = "build.bat"
|
||||||
buildBatFile64 = "build64.bat"
|
buildBatFile64 = "build64.bat"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue