From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26064 invoked by alias); 5 Apr 2011 14:23:09 -0000 Received: (qmail 26045 invoked by uid 22791); 5 Apr 2011 14:23:07 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from tirion.supremecenter202.com (HELO tirion.supremecenter202.com) (209.25.195.243) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Apr 2011 14:22:20 +0000 Received: from c-3ed8e155.355-1-64736c10.cust.bredbandsbolaget.se ([85.225.216.62]:53400 helo=[192.168.0.199]) by tirion.supremecenter202.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q7799-0003Zl-Nl for ecos-discuss@ecos.sourceware.org; Tue, 05 Apr 2011 14:22:20 +0000 Message-ID: <4D9B2598.8080609@siva.com.mk> Date: Tue, 05 Apr 2011 14:23:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: <31319929.post@talk.nabble.com> <4D9AE8C0.8060003@siva.com.mk> <31324165.post@talk.nabble.com> <4D9B2086.8000601@siva.com.mk> <31324571.post@talk.nabble.com> In-Reply-To: <31324571.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: Re: [ECOS] create an application ecos with Eclipse CDT X-SW-Source: 2011-04/txt/msg00019.txt.bz2 On 05.04.2011 16:10, moktar_bouain wrote: > Hi , > > Yes i tried to compile the application directly: > > sparc-elf-gcc -g -I/home/moktar/ecos/build2/install/include twothreads.c > -L/home/moktar/ecos/build2/install/lib -Ttarget.ld -nostdlib > > but I can not solve this problem: > > collect2: ld returned 1 exit status Can you paste ld output? > Any help ?? > > > > Ilija Koco wrote: >> On 05.04.2011 15:29, moktar_bouain wrote: >>> Hi Ilija , >>> Thank you for your reply ,but can you give me more detail . >> Perhaps I could if your are more specific with your question. >> Did you try to build ecos app. under eclipse? >> If yes what is the outcome? >>> I use ecos ;cross compiler; for Leon3 (Sparc). >> You can use standard eCos compiler provided that your processor is >> supported. I guess it should work with other gcc distributions too. >> State your compiler in Makefile, usually there are macros such as: >> >> XCC, XCXX, etc. >> >>> Ilija Koco wrote: >>>> On 05.04.2011 02:36, moktar_bouain wrote: >>>>> Hi, >>>>> I want to create an application ecos with Eclipse CDT . >>>>> What are the steps for this? >>>> Avery brief recipe: >>>> >>>> Start C or C++ project. >>>> Project type: select Makefile Project. >>>> Toolchains: select Other Toolchain >>>> >>>> If you don't have one, you need to prepare a Makefile, see Examples >>>> provided with eCos. >>>> >>>> For debugging you may look at >>>> http://www.open-etech.com/RTOS/Debugging/index.php?page=eclipse >>>> >>>> I hope this helps. >>>> >>>> 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 >>>> >>>> >>>> >> >> -- >> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos >> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss >> >> >> -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss