From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17839 invoked by alias); 21 Jul 2009 15:04:03 -0000 Received: (qmail 17454 invoked by uid 22791); 21 Jul 2009 15:04:01 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jul 2009 15:03:53 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090721150351.SKWY6611.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Tue, 21 Jul 2009 16:03:51 +0100 Received: from cog.dallaway.org.uk ([86.9.207.237]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090721150350.MKUH22934.aamtaout04-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Tue, 21 Jul 2009 16:03:50 +0100 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n6LF3lIb008014; Tue, 21 Jul 2009 16:03:48 +0100 Message-ID: <4A65D8D3.9060400@dallaway.org.uk> Date: Tue, 21 Jul 2009 15:04:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: m mariga CC: ecos-discuss@ecos.sourceware.org References: <3100D422DF3A4D7B9D337FD86D646F40@masahiro> In-Reply-To: <3100D422DF3A4D7B9D337FD86D646F40@masahiro> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Subject: [ECOS] Re: h8300 cannot find libgcc.a X-SW-Source: 2009-07/txt/msg00193.txt.bz2 m mariga wrote: > /opt/ecos/ecos-3.0/packages/language/c/libm/v3_0/src/mathincl/fdlibm.h:78:3: > > error: #error IEEE-style 64-bit doubles are required to use the math library You compiler is providing 32-bit doubles. You need 64-bit doubles in order to build the eCos math library. There's a patch available for the KPIT v0401 tools which may help: http://www.cetoni.de/develop/develop_ecosh8s_en.html#a_broschueren > h8300-elf-gcc -c -o nc_test_slave.o -mh -mint32 -g -Wall -I/home/link/aki-net-0717/untitled_install/include -ffunction-sections -fdata-sections nc_test_slave.c > nc_test_slave.c: In function 'do_udp_test': > nc_test_slave.c:215: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' > nc_test_slave.c:215: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' > nc_test_slave.c: In function 'do_tcp_test': > nc_test_slave.c:391: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' > nc_test_slave.c:391: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' > h8300-elf-gcc -nostartfiles -L/home/link/aki-net-0717/untitled_install/lib -Wl,--gc-sections -Wl,--Map -Wl,nc_test_slave.map -o nc_test_slave nc_test_slave.o -Ttarget.ld -nostdlib > /gnutools/lib/gcc/h8300-elf/4.4.0/../../../../h8300-elf/bin/ld: skipping incompatible /gnutools/lib/gcc/h8300-elf/4.4.0/libgcc.a when searching for libgcc.a > /gnutools/lib/gcc/h8300-elf/4.4.0/../../../../h8300-elf/bin/ld: cannot find libgcc.a > collect2: ld returned 1 exit status Perhaps your toolchain does not provide the appropriate multilib support for "-mh -mint32"? You can check using: $ h8300-elf-gcc -print-multi-lib Note that most of the eCos community is using GCC 4.3.2 so you may well discover a few compiler warnings and other issues if you build with GCC 4.4.0. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss