From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14605 invoked by alias); 3 Jul 2002 10:44:10 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 14595 invoked from network); 3 Jul 2002 10:44:07 -0000 Received: from unknown (HELO tchip.ch) (209.102.28.129) by sources.redhat.com with SMTP; 3 Jul 2002 10:44:07 -0000 Received: from tchip.com ([195.190.161.174]) by tchip.ch (8.9.3) with ESMTP id DAA09118 sender joel.brenner@tchip.com; Wed, 3 Jul 2002 03:43:54 -0700 Message-ID: <3D22F1C4.5090802@tchip.com> Date: Wed, 03 Jul 2002 03:44:00 -0000 From: brenner joel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: Khasim CC: ecos-discuss@sources.redhat.com References: <004e01c2225a$035ea310$9301a8c0@iwave013> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: I need some clarifications regarding ecos X-SW-Source: 2002-07/txt/msg00024.txt.bz2 Khasim wrote: > Hi brenner. > > > > I am Khasim. I am in the process of porting ecos to powerpc using the > configtool 1.3.1.3 for windows. > > I am having few doubts. > > > > 1. I want to port (burn) kernel and application in FLASH.But when I > build the kernel I am getting only library files I need an elf Image. > what should I do to get an elf Image.I dont want to use GDB. > > > > 2. The System startup says cyg_start is in infra/current/src/startup.cxx > > but this function is there in other files also like stubrom.c > > How should I configure such that while building it links the file > infra/current/src/startup.cxx and not stubrom.c > > > > Please reply > > > > Thanks in anticipation. > > > > Khasim. > > > Hi Khasim, maybe I'm not the rigth person to answer your questions, I'm new to eCos. 1) when compiled, eCos is archived in some libraries witch you have to link into your application. To do this you disable the standard library search path and you add the path to eCos libs (-nostartfiles -L$(PKG_INSTALL_DIR)/lib -Ttarget.ld -nostdlib ). 2) I'think you need only to disable _all_ debug features. I'hope this will help! regards jobre -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss