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!
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!
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 :)
In this article, we will describe how you can install the GCC compiler on your Debian 12.
Keep reading:
https://greenwebpage.com/community/how-to-install-gcc-compiler-on-debian-12/
使用 GCC 構建 Rust 編譯器
➤ 克服編譯器中的迴圈內聯問題
✤ https://fractalfir.github.io/generated_html/cg_gcc_bootstrap.html
本文記錄了作者使用 `cg_gcc` 嘗試以 GCC 代替 LLVM 構建 Rust 編譯器的過程。此過程分為三個階段,目標是驗證使用 GCC 構建的編譯器與使用 LLVM 構建的編譯器是否具有相同的行為。作者在過程中遇到了多個錯誤,並透過一系列的除錯技巧,包括將編譯器「切除部分功能」,最終找到並解決了問題,其中一個主要問題源自於 `#[inline(always)]` 屬性在 GCC 和 LLVM 上的不同處理方式。
+ 這篇文章詳細記錄了編譯器的開發過程,對於想了解編譯器原理的人來說很有幫助。
+ 看到作者用「編譯器切除術」來除錯,真是讓人嘆為觀止!這也顯示了編譯器開發的困難度。
#編譯器 #Rust #GCC #開源專案
GCC/FSF governance, whining
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?
https://this-week-in-rust.org/blog/2025/05/28/this-week-in-rust-601/
https://old.reddit.com/r/rust/comments/1ktph3c/media_the_gcc_compiler_backend_can_now_fully/
The next GNU Tools Cauldron, taking place in Porto, Portugal, on September 26-28, 2025.
https://inbox.sourceware.org/gcc/87o6ubhn4j.fsf@oracle.com/
https://gcc.gnu.org/wiki/cauldron2025
https://gnu-tools-cauldron.org/
Some #Sourceware Project Leadership Committee members and @conservancy staff should also be there.
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: https://u.fsf.org/463 #GCC #CopyrightAssignments
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: https://u.fsf.org/463 #GCC #CopyrightAssignments
Apparently there are no good #gcc tools to find unnecessary header includes in #CPP while using ninja/cmake (and NOTE not being the author of the build system)
...
A lot of you guys are #programmers what's the right tool here?
I don't need something that complains about every external include not found, just local symbols without having to recompile everything.
EDIT: Good Answers everyone!
https://www.europesays.com/2164514/ GCC’s Turkey Meat Market to Reach 15K Tons and $45M by 2035 – News and Statistics #GCC #Turkey #TurkeyMeatConsumption #TurkeyMeatExports #TurkeyMeatForecast #TurkeyMeatImports #TurkeyMeatIndustry #TurkeyMeatKeyFindings #TurkeyMeatMarket #TurkeyMeatMarketReport #TurkeyMeatPrices #TurkeyMeatProduction #TurkeyMeatSales #turkiye
I am building gcc-15.1.0 on my iMac G4 (Tiger) machine. It is on stage2, which is a good sign.
It will include C, C++, Fortran, Modula-2, Objective C, and Objective C++ compilers.
It will depend on my new PowerPC Mac OS X modernization library, libpcc: https://github.com/ibara/libppc
I'll write a blog post about how to use it once it is all compiled; my goal is to produce a turnkey solution that just works(TM), including assembler, linker, and other utilities, as recent as possible for PowerPC.
And libppc can be instantly extendable to incorporate more C11 and later features. Hopefully others in the retro Mac community are interested in building that up with me.
My ultimate goal is to build some flavor of WebKit some day and have a modern web experience (even if slow, and possibly using X11). But in the meantime we will probably build a lot of excellent modern software to keep these machines going.
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: https://u.fsf.org/463 #GCC #CopyrightAssignments