From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20916 invoked by alias); 15 Feb 2006 18:00:45 -0000 Received: (qmail 20908 invoked by uid 22791); 15 Feb 2006 18:00:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail05b.webhosting-verizon.net (HELO mail05b.webhosting-verizon.net) (209.238.3.61) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 15 Feb 2006 18:00:44 +0000 Received: from www.ecubics.com (209.238.157.134) by mail05b.webhosting-verizon.net (RS ver 1.0.95vs) with SMTP id 2-0908816437; Wed, 15 Feb 2006 13:00:38 -0500 (EST) Message-ID: <43F36C44.3090200@ecubics.com> Date: Wed, 15 Feb 2006 18:00:00 -0000 From: "e.stiebler" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: Andrew Lunn CC: ecos-discuss@ecos.sourceware.org References: <43F365B9.1070400@ecubics.com> <20060215174456.GR10349@lunn.ch> In-Reply-To: <20060215174456.GR10349@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Loop-Detect:1 X-DistLoop-Detect:1 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] trying tx49 ref4955 design X-SW-Source: 2006-02/txt/msg00133.txt.bz2 Andrew Lunn wrote: > libgcc.a is provided by the compiler. It looks like libgcc.a is > compiled using a different Application Binary Interface than what eCos > was compiled with. > > Try looking at the options you can pass to the configure script when > you build the tool chain. Is there anything to control the ABI it > uses? I used pretty much what's on the "building toolchain" webpage. So setting : ECOS_REPOSITORY=/AD1/MIRRORS/Mirror.Linux/ECOS/ecos/packages ; export ECOS_REPOSITORY ECOS_GNUTOOLS=/AD1/SHARED/ECOS/gnutools ; export ECOS_GNUTOOLS ECOS_TARGET=mips-tx49-elf ; export ECOS_TARGET I compile binutils with : #!/bin/sh ../binutils-2.16.1/configure \ --target=$ECOS_TARGET \ --prefix=$ECOS_GNUTOOLS/$ECOS_TARGET make all make info make install and gcc with: #!/bin/sh ../gcc-3.4.4/configure \ --target=$ECOS_TARGET \ --with-gnu-as \ --with-gnu-ld \ --with-newlib \ --enable-languages="c,c++" \ --prefix=$ECOS_GNUTOOLS/$ECOS_TARGET \ --with-gxx-include-dir=$ECOS_GNUTOOLS/$ECOS_TARGET/include -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss