#gcc

2025-07-08

Writing in C just feels right. Having my code compiled by GCC makes me happy. And when the binary does what it's supposed to, nothing could be better.

I only usually have the same gut feeling with Rust. PHP simply can't compete. C is like a drug xD!

#C #Programming #GCC

What do OpenBSD people use for static analysis of C code?

Valgrind was available for a while but it seems to have been removed now

Apparently there is something called the "Clang Static Analyzer", but I'm not sure how to actually use it (it seems you have to compile your program with specific Clang flags?)

I know there are countless other bugs in my code, but its nice to see "no leaks detected" when I do some stupid shit with void pointers :)

#openbsd #c #gcc #clang

Green Webpagegreenwebpage
2025-07-07

In this article, we will describe how you can install the GCC compiler on your Debian 12.

Keep reading:👇
greenwebpage.com/community/how

GripNewsGripNews
2025-07-07

🌖 使用 GCC 構建 Rust 編譯器
➤ 克服編譯器中的迴圈內聯問題
fractalfir.github.io/generated
本文記錄了作者使用 `cg_gcc` 嘗試以 GCC 代替 LLVM 構建 Rust 編譯器的過程。此過程分為三個階段,目標是驗證使用 GCC 構建的編譯器與使用 LLVM 構建的編譯器是否具有相同的行為。作者在過程中遇到了多個錯誤,並透過一系列的除錯技巧,包括將編譯器「切除部分功能」,最終找到並解決了問題,其中一個主要問題源自於 `#[inline(always)]` 屬性在 GCC 和 LLVM 上的不同處理方式。
+ 這篇文章詳細記錄了編譯器的開發過程,對於想了解編譯器原理的人來說很有幫助。
+ 看到作者用「編譯器切除術」來除錯,真是讓人嘆為觀止!這也顯示了編譯器開發的困難度。

N-gated Hacker Newsngate
2025-07-06

Ah, the joys of summer! ☀️ While normal folks bask in sunlight or strum guitars, our hero chooses to conquer the Everest of unnecessary complexity: with . 🏔️ Because nothing screams "fun" like turning your passion into a 22-minute snooze fest about the build process! 🎉
fractalfir.github.io/generated

2025-07-05

How do you use #jails on #FreeBSD as a software engineer? Does it make sense to keep my "host" clean and minimal and for example as a #cpp developer have two jails to compile code with #gcc and other one with #clang?

2025-07-04
Sergei Trofimovichtrofi@fosstodon.org
2025-07-02

Today's `gcc` bug is gcc.gnu.org/PR120929

There `gcc` was falsely declared out-of-bounds access for code like:

struct magic ** ma = malloc(sizeof(**ma) * mentrycount);
for (...) {
(void)memcpy(*ma, b, sizeof(**ma));

#gcc #bug

Simon Tournierzimoun@sciences.re
2025-07-01

Reading « This Week in Rust » 601 (28th May), there is this item:

The #GCC compiler backend can now fully bootstrap the #Rust compiler!

Wow!

Then it points to some Reddit messages. Do you know more on the current status?

this-week-in-rust.org/blog/202

old.reddit.com/r/rust/comments

#Bootstrap #ReproducibleBuilds

2025-06-28

The next GNU Tools Cauldron, taking place in Porto, Portugal, on September 26-28, 2025.

inbox.sourceware.org/gcc/87o6u
gcc.gnu.org/wiki/cauldron2025
gnu-tools-cauldron.org/

Some #Sourceware Project Leadership Committee members and @conservancy staff should also be there.

#GCC #GDB #binutils #CGEN #DejaGnu #newlib #glibc #poke #libabigail #elfutils

N-gated Hacker Newsngate
2025-06-27

Ah, yes, finally blesses us with tag compatibility, because who doesn't love redefining in their spare time? 🥱✨ and are here to save us from the horrors of incompatible parameters—truly a thrilling adventure in "do we really need this?" 🚀🔧
nullprogram.com/blog/2025/06/2

2025-06-26

Уничтожение EXE: 640 Байт для программы на C

В наше время разработчики уже не так беспокоятся о размере приложений. Некоторые простейшие приложения требуют под 200-300 МБ, а игра вообще может весить более 100 ГБ. Я уже не говорю про "Hello World", который иногда занимет под 180-260 КБ! К счастью, есть возможность сократить размер приложения. О мусоре в exe'шнике и о способах его удаления написано в этой статье.

habr.com/ru/articles/922320/

#exe #размер #windows #c #c++ #gcc #минимальный #бинарники #стандартная_библиотека

2025-06-26

For the official AmigaOS 4 developer package, George 'walkero' Sokianos has published a supplement at the title link that adds newer versions of the GCC compiler (11 and 6, as of May 14) and clib4 (V1.6.0) for AmigaOS 4 to the SDK.

amiga-news.de/en/news/AN-2025-

#AmigaOS4 #SDK #Addon #GCC

2025-06-25

This is why it's good to have lots of stickers on your laptops: when you get interviewed and they publish a photo, your face may not be all that pretty but the laptops, they look great! 😆

#fsf #gcc #gnu #dfri #emacs #bash #fripost #debian #foss #floss #FreeSoftware #FriProgramvara #ThereIsNoCloud

flamman.se/hackarna-som-utmana

Free Software Foundationfsf@hostux.social
2025-06-25

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you to Giovanni Turco for assigning your copyright to the FSF! More at: u.fsf.org/463 #GCC #CopyrightAssignments

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst