From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: xian li <lixian2008cool@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: can I compile stdc++ library alone using existing aarch64 toolchain?
Date: Sat, 9 Jan 2021 14:29:35 +0000 [thread overview]
Message-ID: <CAH6eHdR4zKLyh+kxL_9rPmXuLxa_8mfKummq6SBpW8k+4zweCw@mail.gmail.com> (raw)
In-Reply-To: <CAA2+ws9pNTBurUPwS1FO+WeSaLp6XDrQmG3oz=_C9FMiPKyK7A@mail.gmail.com>
On Sat, 9 Jan 2021 at 11:37, xian li <lixian2008cool@gmail.com> wrote:
>
> Thanks for your information, I have tried to use existing aarch64
> toolchain to compile gcc only, but there is some problem(
> eg. '/usr/lib64/libgmp.la' is not a valid libtool archive even though
> I have configure with --with-gmp) , it make me think that I should
> compile gcc from scratch(glic,linux-kernel headers, mpfr,gmp,mpc so
> on),
No.
> am I right, or there is some way to use existing toolchain to build
> modified gcc?
Just follow the steps at https://gcc.gnu.org/wiki/InstallingGCC
The contrib/download_prerequisites script makes it very easy, you
don't need to install GMP etc. separately.
next prev parent reply other threads:[~2021-01-09 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-09 3:00 xian li
2021-01-09 11:11 ` Jonathan Wakely
2021-01-09 11:37 ` xian li
2021-01-09 14:29 ` Jonathan Wakely [this message]
2021-01-18 13:30 ` xian li
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=CAH6eHdR4zKLyh+kxL_9rPmXuLxa_8mfKummq6SBpW8k+4zweCw@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=lixian2008cool@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).