xnt.build.cc
Common Compilers
Definition of commonly used compilers
-
xnt.build.cc.gcc(src, flags=None)
gcc compiler, non-named output file
Parameters: |
- src – C source file to compile with default gcc
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.gcc_o(src, output, flags=None)
gcc compiler, with output file
Parameters: |
- src – C source file to compile with default gcc
- output – Name of resulting object or executable
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.gpp(src, flags=None)
g++ compiler, non-named output file
Parameters: |
- src – C++ source file to compile with default g++
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.gpp_o(src, output, flags=None)
g++ compiler, with output file
Parameters: |
- src – C++ source file to compile with default g++
- output – Name of resulting object or executable
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.javac(src, flags=None)
Javac: compile Java programs
Parameters: |
- src – Java source file to compile with default javac
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.nvcc(src, flags=None)
NVCC: compile CUDA C/C++ programs
Parameters: |
- src – CUDA source file to compile with default nvcc
- flags – List of flags to pass onto the compiler
|
-
xnt.build.cc.nvcc_o(src, output, flags=None)
NVCC: compile with named output
Parameters: |
- src – CUDA source file to compile with default nvcc
- output – Name of resulting object or executable
- flags – List of flags to pass onto the compiler
|