Understanding how GCC carries out compilation

preview_player
Показать описание
Learn the steps in which GCC converts C source into an executable.

Hope you enjoyed the video!

Check out this code here:

Join my Discord server to chat with me:

Check out some code on my GitHub:

Tweet me something funny on Twitter:

Say hi over at Facebook:

Sincerely,
Engineer Man
Рекомендации по теме
Комментарии
Автор

You dont make people waste their time, pure quality content here. I have never been so happy in smashing a like and subscribe button!

miguelsandoval
Автор

Can you please make a video where you explain how to write a C program with functions in different files and how to compile them and link them into a single executable?

ashwinnat
Автор

I am in love with the way you explain this concept

dipeshsapkota
Автор

Thank you so much for this video sir...I'm starting out in c and even after going through the man of gcc i wasn't getting a clear understanding of gcc - s and the had an assignment that was so frustrating thank you.

kremelkeyz
Автор

Pretty interesting stuff, have you considered doing a longer version of this that goes into detail about what exactly happens at each stage? I'd really like to see something like that :)

CaptainJesus
Автор

Great video 👌 that helped me get the compilation process down.

henrydokie
Автор

6 years old and still the shortest video which covers it all, amazing work!

AlexanderVazov
Автор

Theese videos are amazing! Keep it up man.

Автор

I smashed the like button, but this is so good - i would say the density of goodness in this video is so high that its goodness packing factor is probably close 100%, a crystal of pure, organized goodness. - that smashing the like button is just not enough.
I tried smashing other things that are in my table, but it just isn't enough.
I tried smashing every molecule of air that is inside my lungs, thus producing an inexorable scream, i tried smashing my face on the walls of my office, i tried smashing all the concepts that my mind is capable of bearing into one single absolute thought, thus creating the biggest comprehensive notion of reality i can bear in my humble brain: the horrors of existential crisis, the wonders of being alive in this particular planet against all odds, the melancholy of never being actually alone but also not actually being completely understood, all smashed together into a single state of being, all that to do justice to this video.

Nothing of that was enough. I keep searching for things to smash in the name of the goodness of this video.

marcomontevechifilho
Автор

you missed gcc Gimple Bytecode, their internal optimisation representation (like LLVMIR, but gcc flavor).

wChris_
Автор

chmod! Please cover chmod if you can. I am trying a minimalist implementation for mundane routine tasks. After I watched your video on ArchLinux, I tried compiling using gcc and found that it doesn't automatically make the out file executable. You have to explicitly chmod +x to be able to execute the out file. This can throw off some folks getting started watching your videos.


Bow to thee for the the work thy delivers ^^

PrinceObhan
Автор

Hi ! again a great tutorial, keep it up !
Can you explain an example of backtracking algorithm in c ?
sorry for bad english

ouralgan
Автор

0:00 i like the pattern in the bg - sort of cairo like.
(ref for name: Loopy puzzle from Simon Tatham's Portable)

yash
Автор

When you create the assembly file, how does the compiler know what the target CPU will be? Is the assembler based on the host CPU rather than the target CPU?

johnsmithee
Автор

the whole time i was watching the door behind you, it was scary as shit, I was waiting the chainsaw killer comes to you. LoL

eddeveloper
Автор

What is your education and what linux distro is that ? Can you do linux videos plz really love ur stuff.

cipherbenchmarks
Автор

Can you make a comparison of C Golang & Rust ?

shamikchakraborty
Автор

hi, what's the difference in gcc compiler and g++ compiler?? gcc used for c, and g++ for c++ - is that it?

yash
Автор

hi,what software did you use to record your video

linbook
Автор

So my professor was talking about how the printf was represented in the assembly, could you touch on that?

diwang