On Mon, 10 Mar 2025, Saifi Khan wrote:


import std;

int main () {

     std:: println ("gcc rocks");

     return 0;
}


STEPS
The steps to compile the C++ code are

g++ -std=c++26 -fmodules-ts -fmodule-only -fsearch-include-path -c
bits/std.cc


g++ -std=c++26 -g -fmodules -fmodule-only -fsearch-include-path -c bits/std.cc

note
-fmodules can be used instead of -fmodules-ts


warm regards
Saifi.

Reply via email to