API reference
python:irx:irx.builder.runtime.linking.link_executable
function link_executable
link_executable(primary_object: Path, output_file: Path, artifacts: Sequence[NativeArtifact], linker_flags: Sequence[str] = (), clang_binary: str = 'clang', cxx_binary: str = 'c++') -> None
Source: packages/irx/src/irx/builder/runtime/linking.py:107
Link the main object file plus optional runtime artifacts.
Parameters
-
primary_object — Primary object.; Type: Path
-
output_file — Destination file for generated output.; Type: Path
-
artifacts — Artifacts.; Type: Sequence[NativeArtifact]
-
linker_flags — Linker flags.; Type: Sequence[str]
-
clang_binary — Clang binary.; Type: str
-
cxx_binary — Cxx binary.; Type: str
Returns
Type: None