From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20849 invoked by alias); 4 Jun 2013 11:35:10 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 20839 invoked by uid 89); 4 Jun 2013 11:35:10 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL,TW_GD autolearn=no version=3.3.1 Received: from gateway01.websitewelcome.com (HELO gateway01.websitewelcome.com) (69.41.242.19) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 04 Jun 2013 11:35:09 +0000 Received: by gateway01.websitewelcome.com (Postfix, from userid 5007) id EAE6DFC8F60C; Tue, 4 Jun 2013 06:35:07 -0500 (CDT) Received: from ham01.websitewelcome.com (ham.websitewelcome.com [173.192.111.52]) by gateway01.websitewelcome.com (Postfix) with ESMTP id CF7B2FC8F56E for ; Tue, 4 Jun 2013 06:35:07 -0500 (CDT) Received: by ham01.websitewelcome.com (Postfix, from userid 666) id 7BD5A5269B3F8; Tue, 4 Jun 2013 06:32:09 -0500 (CDT) X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=ham version=3.3.1 Received: from montecarlo.websitewelcome.com (montecarlo.websitewelcome.com [174.120.9.66]) by ham01.websitewelcome.com (Postfix) with ESMTP id D376E5257CE0F for ; Tue, 4 Jun 2013 06:17:34 -0500 (CDT) Received: from [195.189.206.101] (port=55072 helo=[192.168.209.11]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UjpEy-0002uZ-02; Tue, 04 Jun 2013 06:17:24 -0500 Message-ID: <51ADCCC1.3040208@siva.com.mk> Date: Tue, 04 Jun 2013 11:35:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Davide Pippa CC: ecos-discuss@sourceware.org References: <515FFBD2.6060400@siva.com.mk> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Source-Sender: ([192.168.209.11]) [195.189.206.101]:55072 X-Source-Auth: ilijak+siva.mk X-Email-Count: 3 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= Subject: Re: [ECOS] GCC toolchain with HW floating-point enabled X-SW-Source: 2013-06/txt/msg00009.txt.bz2 On 04.06.2013 12:41, Davide Pippa wrote: > Hi! [SNIP] > arm-eabi-g++ -I"H:/Works/Arm/PyIde/roms/04001_TWR-K70F120M/include" > -O0 -Wall -Wa,-adhlns="main.o.lst" -fno-exceptions -fno-rtti -c > -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -mcpu=cortex-m4 > -mthumb -mfloat-abi=hard -mfpu=vfpv4-d16 -g3 -gdwarf-2 -o "main.o" > "../main.cpp" > > I've seen there is many libgcc versions in the toolchain directory > (gnuttols/arm-eabi/lib/gcc/), which should I pick? > Is there some compiler flags to indicate which version to pick, or > should I just copy files over the version that currently is being > linked? > GCC will select correct libraries on a base of floating point flags. Therefore you need to provide same floating point flags for compilation and linking. HTH Ilija -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss