cleanup of the Intel compiler handling; refs #6488
This commit is contained in:
parent
7c3e00d469
commit
7a711cc8e1
1 changed files with 14 additions and 13 deletions
|
|
@ -21,7 +21,7 @@ import
|
||||||
type
|
type
|
||||||
TSystemCC* = enum
|
TSystemCC* = enum
|
||||||
ccNone, ccGcc, ccLLVM_Gcc, ccCLang, ccLcc, ccBcc, ccDmc, ccWcc, ccVcc,
|
ccNone, ccGcc, ccLLVM_Gcc, ccCLang, ccLcc, ccBcc, ccDmc, ccWcc, ccVcc,
|
||||||
ccTcc, ccPcc, ccUcc, ccIcl
|
ccTcc, ccPcc, ccUcc, ccIcl, ccIcc
|
||||||
TInfoCCProp* = enum # properties of the C compiler:
|
TInfoCCProp* = enum # properties of the C compiler:
|
||||||
hasSwitchRange, # CC allows ranges in switch statements (GNU C)
|
hasSwitchRange, # CC allows ranges in switch statements (GNU C)
|
||||||
hasComputedGoto, # CC has computed goto (GNU C extension)
|
hasComputedGoto, # CC has computed goto (GNU C extension)
|
||||||
|
|
@ -135,17 +135,17 @@ compiler vcc:
|
||||||
|
|
||||||
# Intel C/C++ Compiler
|
# Intel C/C++ Compiler
|
||||||
compiler icl:
|
compiler icl:
|
||||||
# Intel compilers try to imitate the native ones (gcc and msvc)
|
result = vcc()
|
||||||
when defined(windows):
|
result.name = "icl"
|
||||||
result = vcc()
|
result.compilerExe = "icl"
|
||||||
result.name = "icl"
|
result.linkerExe = "icl"
|
||||||
result.compilerExe = "icl"
|
|
||||||
result.linkerExe = "icl"
|
# Intel compilers try to imitate the native ones (gcc and msvc)
|
||||||
else:
|
compiler icc:
|
||||||
result = gcc()
|
result = gcc()
|
||||||
result.name = "icc"
|
result.name = "icc"
|
||||||
result.compilerExe = "icc"
|
result.compilerExe = "icc"
|
||||||
result.linkerExe = "icc"
|
result.linkerExe = "icc"
|
||||||
|
|
||||||
# Local C Compiler
|
# Local C Compiler
|
||||||
compiler lcc:
|
compiler lcc:
|
||||||
|
|
@ -329,7 +329,8 @@ const
|
||||||
tcc(),
|
tcc(),
|
||||||
pcc(),
|
pcc(),
|
||||||
ucc(),
|
ucc(),
|
||||||
icl()]
|
icl(),
|
||||||
|
icc()]
|
||||||
|
|
||||||
hExt* = ".h"
|
hExt* = ".h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue