From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC3933857805; Tue, 13 Apr 2021 08:51:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC3933857805 From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/100057] There are no freestanding C++ Date: Tue, 13 Apr 2021 08:51:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 08:51:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100057 --- Comment #20 from cqwrteur --- (In reply to cqwrteur from comment #19) > (In reply to Richard Biener from comment #18) > > So first of all --disable-hosted-libstdcxx doesn't work up to its stand= ard?=20 > > But maybe it's just specifics for x86_64-elf and other targets work fine > > here. > >=20 > > Did you try forcing -ffreestanding for target library build with > > CFLAGS_FOR_TARGET=3D"-g -O2 -ffreestanding" ../configure ....? > >=20 > > Because libstdc++ may not be the only target library with the stdint.h = issue. >=20 > dude never works. >=20 > That is why people are not using C++ for writing operating system. >=20 > Also why people like Linux hate C++ so much. >=20 > Anyone who attempted to write OS in C++ feel the same way. That is why C = is > still the only language for writing OS kernel. >=20 > You give reasons for Trolls like Richard Stallman and Linus to attack this > language https://forum.osdev.org/viewtopic.php?f=3D8&t=3D23947 The same freaking issue was been mentioned 10 years ago. No one actually tr= ies to fix this until I come. There are a lot of historical issues with GCC implementations and I tried to submit patches to fix them. like BUFSIZ macro on windows, which is wrong for 30 years (just fixed in GC= C11 because I reported the bug). addcarry. (still does not work) The freestanding C++ is an absolute joke. Not just because of the reason of exception handling. The GCC team did a horrible job in the past. Of course LLVM is even worse, but I am not going to trash talk about that h= ere.=