From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27277 invoked by alias); 12 May 2012 20:51:19 -0000 Received: (qmail 27266 invoked by uid 22791); 12 May 2012 20:51:17 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp08.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.130) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 May 2012 20:50:38 +0000 Received: from treguer.localnet ([90.32.18.229]) by mwinf5d67 with ME id 98qc1j0044wYTKu038qcBZ; Sat, 12 May 2012 22:50:37 +0200 From: "Yann E. MORIN" To: Ovanes Markarian , crossgcc@sourceware.org Subject: Re: [gcc 4.7.0] enable gcc 4.7.0 with crosstool-ng 1.15.2 Date: Sat, 12 May 2012 20:51:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.3.5-treguer; KDE/4.4.5; x86_64; ; ) References: <201205121731.36334.yann.morin.1998@free.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205122250.35942.yann.morin.1998@free.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00022.txt.bz2 Ovanes, All, [Please, keep the list CCed when you reply, so all can benefit from the discussion (questions+answers) by searching the archives.] On Saturday 12 May 2012 19:20:43 Ovanes Markarian wrote: > On Sat, May 12, 2012 at 5:31 PM, Yann E. MORIN wrote: > >> There is no gcc 4.7.0 version listed in the compiler list. How do I enable it? > > It's an 'experimental' feature, so you have to enable EXPERIMENTAL in the > > "Paths and Misc. options" sub-menus. Support for gcc-4.7.0 is very new, so > > be prepared for breakage. > Can you please specify which breakage you mean? I need 4.7 as I would > like to use the C++ 11 features. I have no specific in mind. As an example, there was a bug in the pristine release of 4.7.0 that broke uClibc, and so crosstool-NG bundles a patch to gcc-4.7.0 (as it does for all versions of gcc). > The most discouraging point was that > after menu config crosstool-ng started the compilation without finding > out that choosen lib versions were not compatible, e.g. after spending > like half an hour building the toolchain I was notified that PPL must > be version 11 or higher for the choosen config. Yes, it is a known /limitation/. There is no easy way to overcome this limitation without complicating the configuration and keep it maintainable. > If someone likes, I can post my config script. Yes, please. If it is not already covered by an existing sample, I'll add it to the samples bundled with crosstool-NG. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq