public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: T Rex <sixpalax@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Fwd: Problems building gcc
Date: Tue, 6 Feb 2024 17:35:05 -0500	[thread overview]
Message-ID: <CAGmGLoibkDriSdzmr9OK=pGRcx5WBzCeTtytU5UHob=7jZZ73A@mail.gmail.com> (raw)
In-Reply-To: <CAGmGLoh+Pbo9G9=1sDRXyHTV7-_CkPDOw+JWppn1TuVRXnszcA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1830 bytes --]

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 directory
specified by $prefix. 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.

El mar, 6 feb 2024 a la(s) 2:22 p.m., Jonathan Wakely (jwakely.gcc@gmail.com)
escribió:

> On Tue, 6 Feb 2024 at 17:38, T Rex via Gcc-help <gcc-help@gcc.gnu.org>
> 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=c,c++ --enable-multiarch
> > --host=x86_64-pc-linux-gnu --target=x86_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=/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
>

  parent reply	other threads:[~2024-02-06 22:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 17:36 T Rex
2024-02-06 19:22 ` Jonathan Wakely
     [not found]   ` <CAGmGLoh+Pbo9G9=1sDRXyHTV7-_CkPDOw+JWppn1TuVRXnszcA@mail.gmail.com>
2024-02-06 22:35     ` T Rex [this message]
2024-02-07  7:33       ` Jonathan Wakely
2024-02-07  8:56       ` Fwd: " David Brown
2024-02-07 13:25         ` T Rex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGmGLoibkDriSdzmr9OK=pGRcx5WBzCeTtytU5UHob=7jZZ73A@mail.gmail.com' \
    --to=sixpalax@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).