From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17000 invoked by alias); 2 Feb 2012 11:15:21 -0000 Received: (qmail 16990 invoked by uid 22791); 2 Feb 2012 11:15:20 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hnosmtp01.atmel.com (HELO hnosmtp01.atmel.com) (212.144.249.237) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Feb 2012 11:15:04 +0000 Received: from snoopy.hno.atmel.com ([10.162.10.2]) by hnosmtp01.atmel.com (8.13.8+Sun/8.13.8) with ESMTP id q12B3vv7007796 for ; Thu, 2 Feb 2012 03:03:57 -0800 (PST) Received: from hnobh01.corp.atmel.com (hnobh01.corp.atmel.com [10.161.30.16]) by snoopy.hno.atmel.com (8.14.4/8.14.4) with ESMTP id q12BEvkq030645 for ; Thu, 2 Feb 2012 12:14:57 +0100 Received: from hammb01.corp.atmel.com ([10.142.130.20]) by hnobh01.corp.atmel.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Feb 2012 12:14:57 +0100 Received: from [10.191.252.66] ([10.191.252.66]) by hammb01.corp.atmel.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Feb 2012 11:14:56 +0000 Message-ID: <4F2A702F.4090702@atmel.com> Date: Thu, 02 Feb 2012 11:15:00 -0000 From: Per Arnold Blaasmo Reply-To: per-arnold.blaasmo@atmel.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: crossgcc@sourceware.org Subject: Re: Built arm-none-eabi with multilib for x86_64-unkown-linux-gnu with crosstool-ng-1.14.0 References: <4F2947D4.2080703@atmel.com> <201202012147.12051.yann.morin.1998@free.fr> In-Reply-To: <201202012147.12051.yann.morin.1998@free.fr> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-02/txt/msg00020.txt.bz2 On 01. feb. 2012 21:47, Yann E. MORIN wrote: > Per Arnold, All, > > On Wednesday 01 February 2012 15:10:28 Per Arnold Blaasmo wrote: >> I managed to build arm-none-eabi with multilib for >> x86_64-unkown-linux-gnu with crosstool-ng-1.14.0. >> >> My .config file is attached. > > OK, I was able to rebuild it, and the compiler is indeed multi-lib aware. > But currently, newlib is compiled only for the default combination, and not > once for each multi-lib combinations, so the toolchain is not entirely > multi-lib. > > 1.14.0 has support for multi-lib only for glibc and eglibc, and neither for > newlib nor uClibc. > But according to Newlib FAQ: -"Newlib, by default, builds "multilibs"." - "When built, the compiler sets up a list of option permutations and a set of directory names to place multilibs in. This information is exposed externally via the "print-multi-lib" option which outputs the list in a compact form. When the compiler is called to compile and link an application, it recognizes multilib-designated options and knows which versions of target libraries, such as newlib, to link with which has been built with the same options" -"When newlib is building, it simply invokes the compiler with the -print-multi-lib option to get the set of multilibs it should create" So I believed that since GCC and Binutils was built with --with-multilib option that Newlib would just pick up that. Regards Per A. -- For unsubscribe information see http://sourceware.org/lists.html#faq