Softwear Development On Linux Using GCC And G++

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 7

  • @daemon_zero
    @daemon_zero 15 днів тому +2

    Great video, I'm subscribing to your channel. Thank you

    • @nikkiinit
      @nikkiinit  15 днів тому +1

      Welcome! Glad you enjoyed the video.

  • @NilimCo
    @NilimCo 15 днів тому +1

    I see where you're coming from, but there’s a misunderstanding here. gcc and g++ are compilers used to translate C/C++ source code into machine code. They are not limited to smaller programs; they can handle both small and large projects. The size of the program doesn't determine whether you use gcc or g++. These compilers are fundamental to the build process, regardless of the project's size.
    make and CMake, on the other hand, are build tools or build system generators. They don't compile the code directly; instead, they help manage the build process by defining how files should be compiled and linked. For larger projects with multiple files and dependencies, tools like make or CMake make it easier to automate and organize the build process, but they are not the reason the program is considered large or small. They simply help manage complexity, which is common in larger projects.
    So, whether the program is small or large, you’ll always use a compiler (like gcc or g++) to generate the final executable, and make or CMake just simplifies the process when there are many files and dependencies.

    • @nikkiinit
      @nikkiinit  15 днів тому

      I never claimed that make and Makefile are compilers. Similarly, I didn't suggest that gcc and g++ are incapable of compiling larger programs. I used the term "suitable".
      While gcc and g++ can handle large projects, using them directly for every compilation step might not be the most efficient approach. This is because gcc typically compiles single files. If you modify a file and use gcc to recompile, you'll need to recompile the entire project.
      In contrast, make is a build automation tool that can significantly streamline the compilation process. It analyzes dependencies between files and only recompiles those that have changed or whose dependencies have been modified. This can save time and effort, especially for large projects with numerous source files.

  • @leonidas14775
    @leonidas14775 15 днів тому +2

    vi: There will be no escape!
    😈

  • @AaneiMarco
    @AaneiMarco 17 днів тому +2

    Do you have LinkedLn account?

    • @nikkiinit
      @nikkiinit  16 днів тому

      Yes I do, here is the link: linkedin.com/in/nekeisha-pope 💕