cleaned up extccomp.nim
This commit is contained in:
parent
ad2ef0f70a
commit
733272d55d
1 changed files with 0 additions and 10 deletions
|
|
@ -53,7 +53,6 @@ type
|
||||||
# used on some platforms
|
# used on some platforms
|
||||||
asmStmtFrmt: string, # format of ASM statement
|
asmStmtFrmt: string, # format of ASM statement
|
||||||
structStmtFmt: string, # Format for struct statement
|
structStmtFmt: string, # Format for struct statement
|
||||||
packedPragma: string, # Attribute/pragma to make struct packed (1-byte aligned)
|
|
||||||
props: TInfoCCProps] # properties of the C compiler
|
props: TInfoCCProps] # properties of the C compiler
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -86,7 +85,6 @@ compiler gcc:
|
||||||
pic: "-fPIC",
|
pic: "-fPIC",
|
||||||
asmStmtFrmt: "asm($1);$n",
|
asmStmtFrmt: "asm($1);$n",
|
||||||
structStmtFmt: "$1 $3 $2 ", # struct|union [packed] $name
|
structStmtFmt: "$1 $3 $2 ", # struct|union [packed] $name
|
||||||
packedPragma: "__attribute__((__packed__))",
|
|
||||||
props: {hasSwitchRange, hasComputedGoto, hasCpp, hasGcGuard, hasGnuAsm,
|
props: {hasSwitchRange, hasComputedGoto, hasCpp, hasGcGuard, hasGnuAsm,
|
||||||
hasAttribute})
|
hasAttribute})
|
||||||
|
|
||||||
|
|
@ -129,7 +127,6 @@ compiler vcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$3$n$1 $2",
|
structStmtFmt: "$3$n$1 $2",
|
||||||
packedPragma: "#pragma pack(1)$n$1$n#pragma pack(pop)$n",
|
|
||||||
props: {hasCpp, hasAssume, hasDeclspec})
|
props: {hasCpp, hasAssume, hasDeclspec})
|
||||||
|
|
||||||
# Intel C/C++ Compiler
|
# Intel C/C++ Compiler
|
||||||
|
|
@ -166,7 +163,6 @@ compiler lcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "_asm{$n$1$n}$n",
|
asmStmtFrmt: "_asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {})
|
props: {})
|
||||||
|
|
||||||
# Borland C Compiler
|
# Borland C Compiler
|
||||||
|
|
@ -191,7 +187,6 @@ compiler bcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {hasCpp})
|
props: {hasCpp})
|
||||||
|
|
||||||
# Digital Mars C Compiler
|
# Digital Mars C Compiler
|
||||||
|
|
@ -216,7 +211,6 @@ compiler dmc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$3$n$1 $2",
|
structStmtFmt: "$3$n$1 $2",
|
||||||
packedPragma: "#pragma pack(1)$n$1$n#pragma pack(pop)$n",
|
|
||||||
props: {hasCpp})
|
props: {hasCpp})
|
||||||
|
|
||||||
# Watcom C Compiler
|
# Watcom C Compiler
|
||||||
|
|
@ -241,7 +235,6 @@ compiler wcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {hasCpp})
|
props: {hasCpp})
|
||||||
|
|
||||||
# Tiny C Compiler
|
# Tiny C Compiler
|
||||||
|
|
@ -266,7 +259,6 @@ compiler tcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {hasSwitchRange, hasComputedGoto})
|
props: {hasSwitchRange, hasComputedGoto})
|
||||||
|
|
||||||
# Pelles C Compiler
|
# Pelles C Compiler
|
||||||
|
|
@ -292,7 +284,6 @@ compiler pcc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {})
|
props: {})
|
||||||
|
|
||||||
# Your C Compiler
|
# Your C Compiler
|
||||||
|
|
@ -317,7 +308,6 @@ compiler ucc:
|
||||||
pic: "",
|
pic: "",
|
||||||
asmStmtFrmt: "__asm{$n$1$n}$n",
|
asmStmtFrmt: "__asm{$n$1$n}$n",
|
||||||
structStmtFmt: "$1 $2",
|
structStmtFmt: "$1 $2",
|
||||||
packedPragma: "", # XXX: not supported yet
|
|
||||||
props: {})
|
props: {})
|
||||||
|
|
||||||
const
|
const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue