public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Iain Sandoe <idsandoe@googlemail.com>
To: -xlan- <ahsan.ahmed3246@gmail.com>
Cc: GCC Development <gcc@gcc.gnu.org>
Subject: Re: Failure During Building
Date: Sun, 19 Feb 2023 16:48:16 +0000	[thread overview]
Message-ID: <483FD967-DBC3-4216-BD57-7BA5EF430FBD@googlemail.com> (raw)
In-Reply-To: <CAOZ-8gXk3VfjusRR1nXwoe-JAAhEr3D27Yss0H028WO5Yq+fjw@mail.gmail.com>



> On 19 Feb 2023, at 16:27, -xlan- <ahsan.ahmed3246@gmail.com> wrote:
> 
> Hi, I have the SDK installed but I don't understand how to use the --with-sysroot command. Is the flag supposed to be with my make all-gcc command, please elaborate.

It is a configure argument for GCC’s configure script - there is more information here:
https://gcc.gnu.org/install/  (and in the linked pages)

 I guess (in your build script) you have something like 

…/configure —prefix=…. 

the --with-sysroot=…. need to be appended to that.

Iain


  reply	other threads:[~2023-02-20 11:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 15:17 -xlan-
2023-02-17 15:37 ` Jonathan Wakely
2023-02-17 16:03   ` Iain Sandoe
2023-02-18 20:28     ` -xlan-
2023-02-18 23:49       ` Iain Sandoe
2023-02-19 16:27         ` -xlan-
2023-02-19 16:48           ` Iain Sandoe [this message]
2023-02-19 16:56             ` -xlan-

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=483FD967-DBC3-4216-BD57-7BA5EF430FBD@googlemail.com \
    --to=idsandoe@googlemail.com \
    --cc=ahsan.ahmed3246@gmail.com \
    --cc=gcc@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).