From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28558 invoked by alias); 12 Jul 2006 13:05:48 -0000 Received: (qmail 28459 invoked by uid 22791); 12 Jul 2006 13:05:47 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-27.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Jul 2006 13:05:39 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 999) id 3835A19500B3; Wed, 12 Jul 2006 07:05:38 -0600 (MDT) Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by hermes.chez-thomas.org (Postfix) with ESMTP id F0353195000F; Wed, 12 Jul 2006 07:05:35 -0600 (MDT) Message-ID: <44B4F39F.2010008@mlbassoc.com> Date: Wed, 12 Jul 2006 13:05:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: Jacek Poplawski CC: ecos-discuss@ecos.sourceware.org References: <10238.209.249.28.241.1152642429.squirrel@webmail.s3group.com> In-Reply-To: <10238.209.249.28.241.1152642429.squirrel@webmail.s3group.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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] configure and cross compilation X-SW-Source: 2006-07/txt/msg00065.txt.bz2 Jacek Poplawski wrote: > I am trying to compile CVS version of ecos/RedBoot. > > How to specify which toolchain configure should use? > I tried that way: > > ../ecos/configure --target=xscale-elf > > But used compiler name is still "gcc", not "xscale-elf-gcc". > Should I make symbolic links? > > Could you point me to the documentation describing how to compile current > version of RedBoot? > This is not how you build an eCos application [RedBoot is just such an eCos application] The basic steps are: 0.1 Set up your [cross-development] tool chain 0.2 Set up 'ecosconfig' and/or 'configtool' These steps need to be executed only once. More information can be found at: http://ecos.sourceware.org/getstart.html 0.3 Download the latest eCos sources It's recommended to download eCos from CVS, rather than the older 2.0 release. 1.0 Create the basic eCos configuration. This involves a) selecting a target and environment template b) optionally modifying the eCos configuration c) generate a build tree 2.0 Build your application, using make For example, to build eCos for the iq80321 (ARM XScale board) % mkdir ecos_iq80321 % cd ecos_iq80321 % ecosconfig new iq80321 redboot % ecosconfig tree % make -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss