public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Jerome Yanga <jerome.yanga@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: attempt to compile gcc failed
Date: Tue, 13 Sep 2022 15:37:09 +0100	[thread overview]
Message-ID: <CAH6eHdT43-jrH=kwQ0bsVVRfH=KCvY8b2J7huy9J3JbT-XuXcw@mail.gmail.com> (raw)
In-Reply-To: <CAC0z1F-GP7jFiumzjbUP0s9+6Rk4xezTdP9LiFNt4ZVsDPNHcw@mail.gmail.com>

On Tue, 13 Sept 2022 at 14:43, Jerome Yanga via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hello.  I attempted to compile gcc but it failed with an error that is
> unknown to me.
>
> Help.
>
> "checking whether the C compiler works... no
>
> configure: error: in
> `/data/rock3/wine/builds/gcc-12.2.0/x86_64-pc-linux-gnu/libgomp':
>
> configure: error: C compiler cannot create executables
>
> See `config.log' for more details

Did you do this?

The error was in a sub-directory, so you want to check
/data/rock3/wine/builds/gcc-12.2.0/x86_64-pc-linux-gnu/libgomp/config.log

There will be lots of errors in that file, because the configure
script tries lots of things that aren't all expected to work. You need
to look for the problem that occurs just before it logs the "cannot
create executables" message.

  reply	other threads:[~2022-09-13 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 13:42 Jerome Yanga
2022-09-13 14:37 ` Jonathan Wakely [this message]
2022-09-13 16:15   ` Jerome Yanga
2022-09-13 16:20     ` Jonathan Wakely

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='CAH6eHdT43-jrH=kwQ0bsVVRfH=KCvY8b2J7huy9J3JbT-XuXcw@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jerome.yanga@gmail.com \
    /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).