Skip to content

Commit

Permalink
Whitespace police: consistently use hardtabs for indent & alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
earl committed Jul 24, 2015
1 parent f3dbd90 commit d2d42a6
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions src/tools/systems.r
Original file line number Diff line number Diff line change
Expand Up @@ -19,69 +19,69 @@ REBOL [
]

systems: [
[plat os-name os-base build-flags]
[0.1.03 "amiga" posix [HID NPS +SC CMT COP -SP -LM]]
[0.2.04 "osx" posix [+OS NCM -LM]] ; no shared lib possible
[0.2.05 "osxi" posix [ARC +O1 NPS PIC NCM HID STX -LM]]
[0.3.01 "win32" win32 [+O2 UNI W32 CON S4M EXE DIR -LM]]
[0.4.02 "linux" posix [+O2 LDL ST1 -LM]] ; libc 2.3
[0.4.03 "linux" posix [+O2 HID LDL ST1 -LM]] ; libc 2.5
[0.4.04 "linux" posix [+O2 HID LDL ST1 M32 -LM]] ; libc 2.11
[0.4.10 "linux_ppc" posix [+O1 HID LDL ST1 -LM]]
[0.4.20 "linux_arm" posix [+O2 HID LDL ST1 -LM]]
[0.4.21 "linux_arm" posix [+O2 HID LDL ST1 -LM PIE]] ; bionic (Android)
[0.4.30 "linux_mips" posix [+O2 HID LDL ST1 -LM]] ; glibc does not need C++
[0.5.75 "haiku" posix [+O2 ST1 NWK]]
[0.7.02 "freebsd" posix [+O1 C++ ST1 -LM]]
[0.9.04 "openbsd" posix [+O1 C++ ST1 -LM]]
[0.13.01 "android_arm" android [HID F64 LDL LLOG -LM CST]]
[plat os-name os-base build-flags]
[0.1.03 "amiga" posix [HID NPS +SC CMT COP -SP -LM]]
[0.2.04 "osx" posix [+OS NCM -LM]] ; no shared lib possible
[0.2.05 "osxi" posix [ARC +O1 NPS PIC NCM HID STX -LM]]
[0.3.01 "win32" win32 [+O2 UNI W32 CON S4M EXE DIR -LM]]
[0.4.02 "linux" posix [+O2 LDL ST1 -LM]] ; libc 2.3
[0.4.03 "linux" posix [+O2 HID LDL ST1 -LM]] ; libc 2.5
[0.4.04 "linux" posix [+O2 HID LDL ST1 M32 -LM]] ; libc 2.11
[0.4.10 "linux_ppc" posix [+O1 HID LDL ST1 -LM]]
[0.4.20 "linux_arm" posix [+O2 HID LDL ST1 -LM]]
[0.4.21 "linux_arm" posix [+O2 HID LDL ST1 -LM PIE]] ; bionic (Android)
[0.4.30 "linux_mips" posix [+O2 HID LDL ST1 -LM]] ; glibc does not need C++
[0.5.75 "haiku" posix [+O2 ST1 NWK]]
[0.7.02 "freebsd" posix [+O1 C++ ST1 -LM]]
[0.9.04 "openbsd" posix [+O1 C++ ST1 -LM]]
[0.13.01 "android_arm" android [HID F64 LDL LLOG -LM CST]]
]

compile-flags: [
+OS: "-Os" ; size optimize
+O1: "-O1" ; full optimize
+O2: "-O2" ; full optimize
UNI: "-DUNICODE" ; win32 wants it
CST: "-DCUSTOM_STARTUP" ; include custom startup script at host boot
HID: "-fvisibility=hidden" ; all syms are hidden
F64: "-D_FILE_OFFSET_BITS=64" ; allow larger files
NPS: "-Wno-pointer-sign" ; OSX fix
NSP: "-fno-stack-protector" ; avoid insert of functions names
PIC: "-fPIC" ; position independent (used for libs)
PIE: "-fPIE" ; position independent (executables)
DYN: "-dynamic" ; optimize for dll??
NCM: "-fno-common" ; lib cannot have common vars
PAK: "-fpack-struct" ; pack structures
ARC: "-arch i386" ; x86 32 bit architecture (OSX)
M32: "-m32" ; use 32-bit memory model
+OS: "-Os" ; size optimize
+O1: "-O1" ; full optimize
+O2: "-O2" ; full optimize
UNI: "-DUNICODE" ; win32 wants it
CST: "-DCUSTOM_STARTUP" ; include custom startup script at host boot
HID: "-fvisibility=hidden" ; all syms are hidden
F64: "-D_FILE_OFFSET_BITS=64" ; allow larger files
NPS: "-Wno-pointer-sign" ; OSX fix
NSP: "-fno-stack-protector" ; avoid insert of functions names
PIC: "-fPIC" ; position independent (used for libs)
PIE: "-fPIE" ; position independent (executables)
DYN: "-dynamic" ; optimize for dll??
NCM: "-fno-common" ; lib cannot have common vars
PAK: "-fpack-struct" ; pack structures
ARC: "-arch i386" ; x86 32 bit architecture (OSX)
M32: "-m32" ; use 32-bit memory model
]

linker-flags: [
MAP: "-Wl,-M" ; output a map
STA: "--strip-all"
C++: "-lstdc++" ; link with stdc++
LDL: "-ldl" ; link with dynamic lib lib
LLOG: "-llog" ; on Android, link with liblog.so
ARC: "-arch i386" ; x86 32 bit architecture (OSX)
M32: "-m32" ; use 32-bit memory model (Linux x64)
W32: "-lwsock32 -lcomdlg32"
WIN: "-mwindows" ; build as Windows GUI binary
CON: "-mconsole" ; build as Windows Console binary
S4M: "-Wl,--stack=4194300"
-LM: "-lm" ; HaikuOS has math in libroot, for instance
NWK: "-lnetwork" ; Needed by HaikuOS
MAP: "-Wl,-M" ; output a map
STA: "--strip-all"
C++: "-lstdc++" ; link with stdc++
LDL: "-ldl" ; link with dynamic lib lib
LLOG: "-llog" ; on Android, link with liblog.so
ARC: "-arch i386" ; x86 32 bit architecture (OSX)
M32: "-m32" ; use 32-bit memory model (Linux x64)
W32: "-lwsock32 -lcomdlg32"
WIN: "-mwindows" ; build as Windows GUI binary
CON: "-mconsole" ; build as Windows Console binary
S4M: "-Wl,--stack=4194300"
-LM: "-lm" ; HaikuOS has math in libroot, for instance
NWK: "-lnetwork" ; Needed by HaikuOS
]

other-flags: [
+SC: "" ; has smart console
-SP: "" ; non standard paths
COP: "" ; use COPY as cp program
DIR: "" ; use DIR as ls program
ST1: "-s" ; strip flags...
STX: "-x"
ST2: "-S -x -X"
CMT: "-R.comment"
EXE: "" ; use %.exe as binary file suffix
+SC: "" ; has smart console
-SP: "" ; non standard paths
COP: "" ; use COPY as cp program
DIR: "" ; use DIR as ls program
ST1: "-s" ; strip flags...
STX: "-x"
ST2: "-S -x -X"
CMT: "-R.comment"
EXE: "" ; use %.exe as binary file suffix
]

config-system: func [
Expand Down

0 comments on commit d2d42a6

Please sign in to comment.