From 5695dc0f1674211049b3952f8005cccc78411cdd Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Sun, 15 Dec 2019 07:40:43 -0500 Subject: add compiler.get_linker_id() method this can be useful for if/elif where linker behaviors must be considered. For example, clang with "link" vs gcc with "ld.bfd" etc. ci for compiler.get_linker_id() method doc add @FeatureNew check Co-Authored-By: Daniel Mensinger --- docs/markdown/snippets/get_linker_id.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/get_linker_id.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/get_linker_id.md b/docs/markdown/snippets/get_linker_id.md new file mode 100644 index 0000000..92a91a6 --- /dev/null +++ b/docs/markdown/snippets/get_linker_id.md @@ -0,0 +1,5 @@ +## compiler.get_linker_id() + +since 0.53.0, `compiler.get_linker_id()` allows retrieving a lowercase name for the linker. +Since each compiler family can typically use a variety of linkers depending on operating system, +this helps users define logic for corner cases not otherwise easily handled. \ No newline at end of file -- cgit v1.1