From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 02FCC3858C2C; Mon, 3 Oct 2022 17:36:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02FCC3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664818610; bh=70hxBj+de9ScbASS7BoW0jyh7Sqtoz4eyIgen7kRw/Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sDExman0BdwvntfW12kFdS+TVu7pnoGnBZHwY0eDBGOUm8fHVfOVTjLbUeTe+5wq7 Yq/WtGFMRPYpX03ewQzRwPJSLx+MqiYc+yLyfDn/Q0uUly8N3oUkPo61NP5JmukR7u InbdnSfAkiLtikpU0FFmNuxTcFy1lUR6WdQUUi70= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107134] fatal error: stdint.h: No such file or directory for freestanding C++ toolchain Date: Mon, 03 Oct 2022 17:36:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107134 --- Comment #1 from Jonathan Wakely --- With current trunk, you need to use -ffreestanding if you are compiling for freestanding. --without-headers --disable-hosted-libstdcxx says to build a freestanding library, that doesn't tell the compiler anything when you invoke it.=