public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: "Jędrzej Dudkiewicz" <jedrzej.dudkiewicz@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: aix cross(?)compiler
Date: Wed, 14 Dec 2011 12:07:00 -0000	[thread overview]
Message-ID: <CAH6eHdQuMgH-mYJUEH9TcXz0xjHLCGveEZhJ6TR5Nsdp9b0v-Q@mail.gmail.com> (raw)
In-Reply-To: <CABJqhQPphUVbc=j8h9tux=oTYeUCyw6mREQnKYhP3QE8XnztYA@mail.gmail.com>

2011/12/14 Jędrzej Dudkiewicz :
>
> I can try it, but last time I tried it wasn't working. Note that here:
>
> http://gcc.gnu.org/install/specific.html#x-ibm-aix
>
> it is written:
>
> Because GCC on AIX is built as a 32-bit executable by default,
> (although it can generate 64-bit programs) the GMP and MPFR libraries
> required by gfortran must be 32-bit libraries. Building GMP and MPFR
> as static archive libraries works better than shared libraries.
>
> My impression is that if you were right, this wouldn't be mentioned.

Well that text is necessary if you build those libs yourself. If you
let GCC build them it should do the right thing automatically.  If it
doesn't that's a bug.

> On the other hand it seems that not only gfortran requires them, so
> maybe this whole part is wrong.

It's certainly out of date as not only gfortran needs them, and MPC is
also needed now.

>> Are you installing dynamic libraries for gmp, mpfr and mpc?  If you
>> are, it's not as simple as running one script, because you need to
>> ensure they can be found by the dynamic linker at runtime.
>
> No, as in quoted text above: "Building GMP and MPFR as static archive
> libraries works better than shared libraries".

OK, by only building static libs you avoid the main problems caused by
building them separately from GCC.

  reply	other threads:[~2011-12-14 12:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14  8:36 Jędrzej Dudkiewicz
2011-12-14  9:45 ` Jonathan Wakely
2011-12-14 10:12   ` Jędrzej Dudkiewicz
2011-12-14 11:09     ` Jonathan Wakely
2011-12-14 11:29       ` Jędrzej Dudkiewicz
2011-12-14 12:07         ` Jonathan Wakely [this message]
2012-01-21 18:19   ` Paul Smith
2012-01-21 18:28     ` Marc Glisse
2012-01-21 18:37       ` Newer MPFR versions (was: Re: aix cross(?)compiler) Paul Smith
2012-01-21 18:51     ` aix cross(?)compiler Jonathan Wakely
2012-01-21 22:24       ` Paul Smith
2011-12-14 11:16 ` Kai Ruottu
2011-12-14 11:42   ` Jędrzej Dudkiewicz
2011-12-14 17:10     ` Kai Ruottu
2011-12-22 17:36       ` Jędrzej Dudkiewicz

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=CAH6eHdQuMgH-mYJUEH9TcXz0xjHLCGveEZhJ6TR5Nsdp9b0v-Q@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jedrzej.dudkiewicz@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).