From db446764e71bea63168048c59735e74149a0ff23 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 17 Nov 2024 11:04:29 +0100 Subject: [PATCH 1/5] FAQ: document additional tools required for C/C++ development --- docs/user/faq.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/user/faq.md b/docs/user/faq.md index a14514e41c7..40d828dde60 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -94,6 +94,12 @@ x86_64-apple-darwin13.4.0-clang: No such file or directory are a telltale sign that you are lacking compilers. +Depending on the specific tools that you use for building C/C++ code, you may need some additional tools, for example: + +~~~ +compilers cmake pkg-config make ninja meson +~~~ + From ff7eae297fc53100155df2171e7f84d2a3a2d624 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 17 Nov 2024 10:24:17 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/user/faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/faq.md b/docs/user/faq.md index 40d828dde60..f48b8096bda 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -96,9 +96,9 @@ are a telltale sign that you are lacking compilers. Depending on the specific tools that you use for building C/C++ code, you may need some additional tools, for example: -~~~ +``` compilers cmake pkg-config make ninja meson -~~~ +``` From 50487fc7824fb368aaaf199bca853ec39b9a9949 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sun, 17 Nov 2024 22:46:25 +0100 Subject: [PATCH 3/5] Do not suggest to install a fortran compiler in C/C++ faqs --- docs/user/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/faq.md b/docs/user/faq.md index f48b8096bda..68284c5f3d4 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -97,7 +97,7 @@ are a telltale sign that you are lacking compilers. Depending on the specific tools that you use for building C/C++ code, you may need some additional tools, for example: ``` -compilers cmake pkg-config make ninja meson +c-compiler cxx-compiler cmake pkg-config make ninja meson ``` From 5997041e4759783a48c67dc8e4205cabff20aa63 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 27 Nov 2024 09:41:55 +0100 Subject: [PATCH 4/5] Remove c-compiler Co-authored-by: Matthew Feickert --- docs/user/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/faq.md b/docs/user/faq.md index 68284c5f3d4..78c492882dc 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -97,7 +97,7 @@ are a telltale sign that you are lacking compilers. Depending on the specific tools that you use for building C/C++ code, you may need some additional tools, for example: ``` -c-compiler cxx-compiler cmake pkg-config make ninja meson +cxx-compiler cmake pkg-config make ninja meson ``` From c53809fa42faf8a18b577bb31e51e028366aa301 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Fri, 18 Apr 2025 19:01:54 +0200 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: h-vetinari --- docs/user/faq.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/user/faq.md b/docs/user/faq.md index 78c492882dc..74a533c8eb2 100644 --- a/docs/user/faq.md +++ b/docs/user/faq.md @@ -94,7 +94,12 @@ x86_64-apple-darwin13.4.0-clang: No such file or directory are a telltale sign that you are lacking compilers. -Depending on the specific tools that you use for building C/C++ code, you may need some additional tools, for example: +The actual orchestration of the various compilation and linking steps is almost always done +by some build orchestrator (e.g. `CMake`, `meson`, ...), which will generally require a +build system (e.g. `ninja`, `make`), or possibly other supporting tools like `pkg-config`. + +We package several tools that can be used for building C/C++ code; a selection that covers +the most common scenarios would be: ``` cxx-compiler cmake pkg-config make ninja meson