From 9fb1fddab8c59ee55d8a5ae143b6ab6d47e10fae Mon Sep 17 00:00:00 2001 From: Cristian-Vasile Achim <66278390+csccva@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:50:36 +0300 Subject: [PATCH] Update 01_modules_make_batch_jobs.md --- computer-platforms/docs/01_modules_make_batch_jobs.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/computer-platforms/docs/01_modules_make_batch_jobs.md b/computer-platforms/docs/01_modules_make_batch_jobs.md index f7b90fd42..645767a6a 100644 --- a/computer-platforms/docs/01_modules_make_batch_jobs.md +++ b/computer-platforms/docs/01_modules_make_batch_jobs.md @@ -107,21 +107,26 @@ ssh-copy-id @mahti.csc.fi # Compiling and linking Single file source code: + ```bash cc main.c -o main ```
+ + In practice programs be separated into several files
$\Rightarrow$ complicated dependency structures - Building large programs takes time - could we just rebuild the parts that changed? - Having different options when building - debug versions, enabling/disabling features, etc. +
+
-![](images/depend.png){.center width=20%} +![](images/depend.png){.center width=40%}
# Compiling and linking: possible problems