Let's get rid of it - Compiling C without the C Runtime

Описание к видео Let's get rid of it - Compiling C without the C Runtime

I wanted to know if it would be possible to compile a C Application on Windows without linking to the C Runtime Library. This video is the result of my search.

Chapters:
0:00 Intro
1:11 Why remove the CRT?
2:26 The example application
3:25 Replace C function calls
6:57 Removing default linked libs
7:44 Setting a new program entry
9:53 Disabling buffer overrun checks
10:32 Setting the stack size
11:39 Providing memset implementation
14:06 Outro

Resources:
MSVC linker command line options: https://learn.microsoft.com/en-us/cpp...
MSVC compiler command line options: https://learn.microsoft.com/en-us/cpp...
Forum post by mmozeiko with lots of useful info: https://hero.handmade.network/forums/...
Example app with C Runtime: https://drywa.me/compiling-c-without-...
Example app without C Runtime: https://drywa.me/compiling-c-without-...

Music used in this video:
Lawrence - TrackTribe (from the YouTube Audio Library)
Mo Anando - Oase https://chll.to/3cb311fb

Tools used in this video:
Sublime Text 4

Links:
Twitch:   / danicrunch  
VOD Channel:    / @danicrunchvod  
Twitter/X:   / danicrunch  

#c #windows #coding

Комментарии

Информация по комментариям в разработке