Xen's personal web-page

My maintained projects, documentation, scripts, tips, and sometimes my thoughts... all here.

READING MODE OFF

Posts in Tag: "GCC"

How to easily setup a Toolchain in Windows (Any Language)

Microsoft Windows is one of the best operation systems out there when it comes to casual desktop use or gaming. Unfortunately the same cannot be said when it comes to software or web development, For many reasons; like for example the lack of the famous unix shell which was designed by the legendary Ken Thompson himself back in the early 70’s. Microsoft tried to implement it in Windows 10 through a setting called “Windows Subsystem for Linux” but it didn’t took off because many people hated Windows 10 including myself and also didn’t solve many other issues, It was much easier to use a 3rd party software or just dual-boot than developing apps on Windows under WSL. more

How to make GCC/Clang produce a very small executable

Sometimes size matters! especially if you’re working with medium/big projects that will produce a gigantic executables. Well… Here’s my secret sauce to make compilers generate very small files + another trick that you may not know about. First of all let’s make a small program to test our new compiling flags, you can make your own or just use this code i made for this experiment: more