From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by sourceware.org (Postfix) with ESMTPS id 15CFC3858C53 for ; Wed, 7 Feb 2024 07:33:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 15CFC3858C53 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 15CFC3858C53 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707291228; cv=none; b=kDiTI3v3G/wlU9xGwcAP9haF+CbkVxkju7beVAkGhR1wasCsBBXGnqrNuzPqXSM9I1Sn7SYSszmk+cIz4wW4ubqLPboHane5dF/n1bvas+Na2AHhr2/BOSFtQKAyhxQb2woSWl4/XATlxovogYIjbjIj7KFWMuBBXozQ6p4ChnA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707291228; c=relaxed/simple; bh=UhFTbhLqC9vE6MA4bHqphYkSkWXBR/VTYzdLXzTtIj8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=pEXuLi7N90nl3ty+vOa3s7nKzaNNwW/6ujVLtkx3ku8g4FJlEZysXSmDRTuiJcSS5bhi/2TZMHVHCqCXvnsxyoPtjjM4iOsuoClNlqnq1Uq1OagmsLgMuIz+vi9q2+GI1JoEzdJyD2rDZJobTI/Sbr2/BWPzzk73KW92AOZI3xM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-21959151f4fso217138fac.1 for ; Tue, 06 Feb 2024 23:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707291226; x=1707896026; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UhFTbhLqC9vE6MA4bHqphYkSkWXBR/VTYzdLXzTtIj8=; b=Acs6PsKki7+zLl7fIszr+oQBcxGeBCYX9ZAzjyNR5eXkdDfc0+S4+CDoP3OsRPbewl eAo9p/EXDvipqgOBnjp7iY89esa258Yo1BeVeGxiA1p7XNZfYWR4xw1gBU6b/L8pKy42 PPDr/OjsdAb1qEtdNqTzrch8tG5Q+GFMlIsjD/ZxS7bQzVfEGJCm9R/g+D+I+OKAY4KC tNvAPSDg0MzdonGnG0hzdkd4uYEVIovfUJdFTO3+ptS0pPl0OSI7IG9LrLhesQNJLhhW j6TMHXaTTt/eHyf7TEeThgqfYwVb4eSrn6OCGKQm0jgLC9l4U2z0vNdW4mJUfGNZc0pV 98KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707291226; x=1707896026; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UhFTbhLqC9vE6MA4bHqphYkSkWXBR/VTYzdLXzTtIj8=; b=Bvw9FRJjum+38+opiONsKzX2qDJF9XelR2YmUd6KOh/kUmQu9YbzjnzN35dTV4SwDz NvBJfaFZ1BM4hVDWoapUOT/Abqqg8u4rWvzpu80AbGW4tG9Bq4fQ43vtrAXyusfZ8H/3 xsulvOVi+Mc6zKtUnOeLEjwsj+Dm3SB4p7iih95NOS8pwR7dpxG2qeMVlTJyL8Ul/SIZ 70W6wbZyFzvqQHC6S5Xwtf1BShK4Ab4s1APnl9t3KutOoghKBsF8FUd0v4EQLGIFybuH pXzCjD7PtDMJffRtxHSD1DuNXQdHElROuDn2P9WS4aJaW79ynvQVNgURWzoDVFhBCSfb 5/dA== X-Gm-Message-State: AOJu0Yxzn4cOSE2khl51jmHTdniQz++JJUvwmQSBIzQLuQ8Eg5nQ7mAA VaEIFGY09r9viiAnFFocJwbl+H0Kq4qMyOwVIEgLGM7xFUSPyzjyu+zX0TfyXMg1R7Ix0tjo7Wt CXo8mReKLvyNCbxevjmBVmC4fEN0= X-Google-Smtp-Source: AGHT+IHx3q/5TR55an9FztxX96WJYKHOxVOynKhd+M3Iddo02YyTp+AHM3u0rmUpjoDpTsPcMNoqm1OhAB+HlItloGk= X-Received: by 2002:a05:6871:151:b0:219:3cc5:4892 with SMTP id z17-20020a056871015100b002193cc54892mr5803596oab.5.1707291226215; Tue, 06 Feb 2024 23:33:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Wed, 7 Feb 2024 07:33:32 +0000 Message-ID: Subject: Re: Problems building gcc To: T Rex Cc: gcc-help Content-Type: multipart/alternative; boundary="000000000000111dac0610c5b7ed" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000111dac0610c5b7ed Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 6 Feb 2024, 22:36 T Rex via Gcc-help, wrote: > Thanks for the reply. > > What I need are all the files that are in /usr/include, at the > $prefix/include location. I'm building a package for flatpak and I need > everything that gcc uses and makes it work to be contained in the directo= ry > specified by $prefix. GCC doesn't own or install those headers though. It also uses libc.so.6 and it doesn't own that either. A flatpak GCC would need to depend on a runtime that provides those files. This will be complicated to build. I was thinking about simply copying it from the > system but it seems to me that it's not the right thing to do and maybe it > won't work. > Correct, it probably won't. > El mar, 6 feb 2024 a la(s) 2:22=E2=80=AFp.m., Jonathan Wakely ( > jwakely.gcc@gmail.com) > escribi=C3=B3: > > > On Tue, 6 Feb 2024 at 17:38, T Rex via Gcc-help > > wrote: > > > > > > Good morning everyone, > > > > > > I am compiling gcc-13.2 with the following configuration, > > > > > > ./configure > > > > Don't run configure in the source directory. See > > https://gcc.gnu.org/wiki/InstallingGCC > > > > > --disable-multilib --enable-languages=3Dc,c++ --enable-multiarch > > > --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu > > > --enable-deterministic-archives --disable-bootstrap > --enable-default-pie > > > --enable-default-ssp --disable-libssp --enable-linker-build-id > > > --disable-libstdcxx-filesystem-ts --enable-shared > > > --prefix=3D/home/runner/work/gcc/gcc/builds > > > > > > and the process is successful. But when reviewing the include > directory, > > it > > > > Which include directory? > > > > > is empty, with only the g++ directory and its contents, I would like > all > > > > Do you mean c++ directory? > > > > > the files necessary for the compiler to be in the folder. I don't know > if > > > it's a configuration error or something additional needs to be done. > > > > Which files are you expecting to be there? > > > > The C library headers are not part of GCC, they are already installed > > elsewhere, like /usr/include > > > > And many of GCC's headers will be under > > $prefix/lib/gcc/x86_64-pc-linux-gnu/13.2.0/include > > > --000000000000111dac0610c5b7ed--