This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: create an application ecos with Eclipse CDT


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
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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/create-an-application-ecos-with-Eclipse-CDT-tp31319929p31324571.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]