From b803e58e67da33842e06f17d6e0c3c8b520fd425 Mon Sep 17 00:00:00 2001 From: Daniel Hammer Date: Mon, 31 Aug 2026 18:58:20 +0200 Subject: [PATCH] docs - change recommended compiler to gcc --- docs/tutorials/tutorial-programming-c.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/tutorial-programming-c.html b/docs/tutorials/tutorial-programming-c.html index 36ce2eb..7f662b2 100644 --- a/docs/tutorials/tutorial-programming-c.html +++ b/docs/tutorials/tutorial-programming-c.html @@ -114,7 +114,7 @@
-

This tutorial explains how to create and run a simple program in the C programming language (using the tcc C compiler) on MontaukOS.

+

This tutorial explains how to create and run a simple program in the C programming language (using the gcc compiler) on MontaukOS.


  1. Open the Text Editor by navigating to the 'Applications' section in the app menu.
  2. Did you know? The MontaukOS Text Editor provides syntax highlighting for C and Lua files.
    @@ -147,8 +147,8 @@ int main(void) {
  3. If you saved your program's source file somewhere other than your Home directory, switch to the directory in which you saved your program using the cd command. For example, cd Documents.
  4. -
  5. Type 'tcc ' followed by your program's name, and then press enter. For example, 'tcc hello.c'.
  6. -
  7. Run your program by typing its name without the '.c' extension, before pressing enter - for example, "hello".
  8. +
  9. Type 'gcc ' followed by your program's name, and then press enter. For example, 'gcc hello.c'.
  10. +
  11. Run your program by typing "a.out" and pressing enter.

  12. You should see "Hello, World!" displayed in the Terminal window. Congratulations!