public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andy Bowery <abowery@yahoo.com>
To: Jonathan Wakely <jwakely.gcc@gmail.com>,
	 "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: Need to build libgfortran.a and libquadmath.a
Date: Tue, 29 Mar 2022 15:29:47 +0000 (UTC)	[thread overview]
Message-ID: <1606762617.1111945.1648567787021@mail.yahoo.com> (raw)
In-Reply-To: <CAH6eHdRfzZQJxEjO2EqetoVjE=U0yX+edFU04dHTcaSUm0x5tg@mail.gmail.com>

 Thank you Jonathan for your quick response. I am afraid at the moment I don't have access to such a multicore system. I will investigate setting one up.
I tried a different approach and that was to build within the libgfortran subfolder, by running 'configure' followed by 'make' in that subfolder. I needed to make libbacktrace.la and libbacktrace.a available. However this worked and 'libgfortran.a' was created.
So I tried the same approach in the libquadmath subfolder in order to build 'libquadmath.a'. So in this subfolder I ran:
automake./configuremake
However all I got was the following output and no files created:
make  all-am
make[1]: Entering directory '/home/root/gcc/libquadmath'

make  DO=all multi-do # make

make[2]: Entering directory '/home/root/gcc/libquadmath'

make[2]: Leaving directory '/home/root/gcc/libquadmath'
make[1]: Leaving directory '/home/root/gcc/libquadmath'

What should I do here? I presume that this is what the higher Makefile in gcc runs in this subfolder. So if I was run 'make' of the gcc folder all the through, I presume that it wouldn't make the file 'libquadmath.a' either. How do I get it to make libquadmath.a using the Makefile in the libquadmath subfolder?
Thanks,
Andy
    On Monday, 28 March 2022, 20:52:56 BST, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:  
 
 On Mon, 28 Mar 2022 at 19:19, Andy Bowery via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Help! I need to build both libgfortran.a and libquadmath.a for an embedded ARM-based environment. These libraries are currently not available for this environment, so I going to have to build them myself. Both need to be static libraries.  I have downloaded the GNU GCC project and I am currently running 'make' (in the top level gcc folder) on this in this environment, but it is taking days on this limited environment! And I am not even sure it will produce the files I need. Is there a quicker way of building these files?

Don't build on the ARM system, build a cross compiler that runs on a
much more powerful multicore system.


> Will this make process produce these particular files?

It depends how you configured GCC.
  

  reply	other threads:[~2022-03-29 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <222147991.846192.1648491515241.ref@mail.yahoo.com>
2022-03-28 18:18 ` Andy Bowery
2022-03-28 19:52   ` Jonathan Wakely
2022-03-29 15:29     ` Andy Bowery [this message]
2022-03-29 15:57       ` Xi Ruoyao
2022-03-31 13:20         ` Andy Bowery
2022-03-31 14:21           ` Richard Earnshaw
2022-03-31 14:21           ` Jonathan Wakely
2022-03-31 14:22             ` 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=1606762617.1111945.1648567787021@mail.yahoo.com \
    --to=abowery@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@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).