public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Jędrzej Dudkiewicz" <jedrzej.dudkiewicz@gmail.com>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: aix cross(?)compiler
Date: Wed, 14 Dec 2011 10:12:00 -0000	[thread overview]
Message-ID: <CABJqhQNMOoaf9nU-+KN0dyiRbN+55WzdeHFBmNGPJnJuC6wxqw@mail.gmail.com> (raw)
In-Reply-To: <CAH6eHdQs4hwvXdoNgBMTB6-hKYP-fLYNYvfwEoCOWsi3MtZ-ig@mail.gmail.com>

2011/12/14 Jonathan Wakely <jwakely.gcc@gmail.com>:
> 2011/12/14 Jędrzej Dudkiewicz:
>>
>> 1) Am I building everything the right way,
>
> The process is much simpler if you let GCC build the GMP, MPFR and MPC
> libs, instead of installing them separately. See
> http://advogato.org/person/redi/diary/253.html

It's simpler, but results in errors. On AIX, by default, GCC is built
as 32-bit binary but aforementioned libraries are built in 64-bit
mode. Most probably it's possible to do everything in one shot, but I
have a habit of scripting everything, so building these libraries in
32-bit mode is as easy as running one script.

>> 2) What command should I use to get the preprocessed source: is it
>> enough to add "-E" and change "-o unwind-dw2.o" to "-o
>> preprocessed_source.c" in the compilation command?
>
> See the link in the error message for instructions:
>
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> That explains how to use -save-temps

Ah. Thanks!
-- 
Jędrzej Dudkiewicz

I really hate this damn machine, I wish that they would sell it.
It never does just what I want, but only what I tell it.

  reply	other threads:[~2011-12-14 10:12 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 [this message]
2011-12-14 11:09     ` Jonathan Wakely
2011-12-14 11:29       ` Jędrzej Dudkiewicz
2011-12-14 12:07         ` Jonathan Wakely
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=CABJqhQNMOoaf9nU-+KN0dyiRbN+55WzdeHFBmNGPJnJuC6wxqw@mail.gmail.com \
    --to=jedrzej.dudkiewicz@gmail.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).