2025年7月17日 2:25:44 JST、Basile Starynkevitch <bas...@starynkevitch.net> より:
>
>The Cuthour <cuth...@gmail.com> wrote to the GCC mailing list
>
>> I understand that GNU Make and C++ Modules address many current challenges
>> with headers and dependency management.
>>
>> But what I'm suggesting is a build+package manager tightly integrated with 
>> the
>> compiler ― something like Rust's cargo, which not only handles builds and
>> dependencies, but also allows:
>>
>> - No headers, no macros
>>
>> - Cache-aware recompilation (template & inline function tracking)
>>
>> - Consistent ABI output per toolchain (e.g., Rust ABI, Go ABI)
>>
>> - Per-project manifest with proper dependency/version resolution
>>
>>
>> Would the GCC project consider supporting such a tool if developed
>> independently as cargo-cc? It could be a frontend to g++, like rustc is for
>> Rust, but standardized.
>
>
>Most people don't need it, since the GNU project offers other (old) approaches
>(e.g. GNU autoconf and GNU automake).
>
>My suggestion is not to incorporate that feature into the GCC compiler, but for
>The Cuthour to implement it first as an open source (probably GPL licensed) GCC
>plugin. People would then chose to use (or not) it.
>

I came up with the idea, but I’m not an expert.
I’m just exploring thoughts that maybe others are also wondering about.

You're welcome to share my message and ask for feedback from others.

Reply via email to