From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9835 invoked by alias); 14 Dec 2011 10:12:57 -0000 Received: (qmail 9826 invoked by uid 22791); 14 Dec 2011 10:12:56 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-ee0-f47.google.com (HELO mail-ee0-f47.google.com) (74.125.83.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Dec 2011 10:12:34 +0000 Received: by eekb15 with SMTP id b15so534919eek.20 for ; Wed, 14 Dec 2011 02:12:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.129.137 with SMTP id hi9mr424462bkc.90.1323857553092; Wed, 14 Dec 2011 02:12:33 -0800 (PST) Received: by 10.205.122.141 with HTTP; Wed, 14 Dec 2011 02:12:33 -0800 (PST) In-Reply-To: References: Date: Wed, 14 Dec 2011 10:12:00 -0000 Message-ID: Subject: Re: aix cross(?)compiler From: =?UTF-8?Q?J=C4=99drzej_Dudkiewicz?= To: Jonathan Wakely Cc: gcc-help Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-12/txt/msg00115.txt.bz2 2011/12/14 Jonathan Wakely : > 2011/12/14 J=C4=99drzej 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 for instructions. > > That explains how to use -save-temps Ah. Thanks! --=20 J=C4=99drzej 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.