From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32406 invoked by alias); 27 Jan 2013 02:16:46 -0000 Received: (qmail 32288 invoked by uid 22791); 27 Jan 2013 02:16:45 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-we0-f178.google.com (HELO mail-we0-f178.google.com) (74.125.82.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Jan 2013 02:16:41 +0000 Received: by mail-we0-f178.google.com with SMTP id x48so805537wey.23 for ; Sat, 26 Jan 2013 18:16:38 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.72.146 with SMTP id d18mr3779156wiv.33.1359252998509; Sat, 26 Jan 2013 18:16:38 -0800 (PST) Received: by 10.194.80.73 with HTTP; Sat, 26 Jan 2013 18:16:38 -0800 (PST) In-Reply-To: <51028EC7.1070807@salomon.at> References: <5100FC73.8090300@salomon.at> <51028EC7.1070807@salomon.at> Date: Sun, 27 Jan 2013 02:16:00 -0000 Message-ID: Subject: Re: [PATCH, regression?] Support --static-libstdc++ with native AIX ld From: David Edelsohn To: Michael Haubenwallner Cc: GCC Patches Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg01274.txt.bz2 On Fri, Jan 25, 2013 at 8:55 AM, Michael Haubenwallner wrote: > Same here, building everything out-of-source. The prerequisites used are: > * CONFIG_SHELL=/usr/local/bin/bash 4.1.7 from bullfreeware (symlinks to /opt/freeware/bin/) > * /usr/bin/{gcc,g++} 4.6.1 from bullfreeware (symlinks to /opt/freeware/bin/) > * /usr/bin/gmake 3.82 from bullfreeware (symlinks to /opt/freeware/bin/) > * gmp-5.0.4: as shared library, configured with --prefix=/prereq ABI=32 > * mpfr-3.1.1: as shared library, configured with --prefix=/prereq --with-gmp=/prereq > * mpfr-3.1.1: as shared library, configured with --prefix=/prereq --with-{gmp,mpfr}=/prereq > * gawk-3.1.7, flex-2.5.35, m4-1.4.13 from some Gentoo Prefix instance, nowhere in PATH, > thus: export {AWK,FLEX}=/gentoo/prefix/usr/bin/{awk,flex} and this patch: > http://gcc.gnu.org/ml/gcc-patches/2013-01/msg00960.html > > For gcc: > * $CONFIG_SHELL configure --prefix=/does/not/exist/yet --with-{gmp,mpfr,mpc}=/prereq \ > --enable--languages=c,c++ --disable-werror --disable-nls > * gmake bootstrap I committed your patch. By the way, NLS works if you build and install GNU libiconv (1.14) and add --with-libiconv-prefix=/prereq to force GCC bootstrap to use GNU libiconv instead of AIX libiconv. Thanks, David