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: target.ld error



Hello

Unfortunately nothing seems to solve my problem.
Let me tell you exactly what I am doing.
As specified in the eCos user guide, I am using the ConfigTool for Windows.
I choose the PowerPC simulator target and build it.
My installation or build directory is c:\eCos-Work\PPC_install.
After doing this and following the user guide, I try to compile the hello.c example.
When I use the powerpc-eabi-gcc command, I get this error: bash: powerpc-eabi-gcc: command not found.
I don't know how to resolve this error. So I just try gcc, it works but gives the target.ld error as mentioned in my earlier emails.
I don't know if I am following the right procedure, all I want is to run the example programs on the PowerPC simulator using eCos.
Can anyone of you help me and tell me how to proceed. How to edit the makefile, etc. Am I doing the right stuff as I am absolutely new to eCos.


Thanks in anticipation.
dranne



> Date: Mon, 14 Jan 2008 13:51:08 +0100
> From: antoine.zen@gmail.com
> To: dranne27@hotmail.com
> Subject: Re: [ECOS] target.ld error
> CC: ecos-discuss@ecos.sourceware.org
>
> Does it solve your problem ?
>
> 2008/1/11, Antoine Zen-Ruffinen :
>> The error come probably from your BASE_DIR variable. As cygwin emulate
>> a UNIX system, you should use the UNIX file path, not windows. I think
>> you set BASE_DIR as somting like
>> c:\path_to_my_workspace\some_other_dir\, no ?
>> Then you should set it to /cygdrive/c/path_to_my_workspace/some_other_dir/.
>> I develop under linux, so I can not be sure about cygwin config, but I
>> think it can be that.
>>
>> Hope it help.
>>
>> Antoine
>>
>>
>> 2008/1/11, ANILA SOOMRO :
>>>
>>> Please see my other reply. I have mentioned the compilation command that I
>>> am using and the errors.
>>>
>>> Thanks
>>> dranne
>>>
>>>> Date: Fri, 11 Jan 2008 11:31:57 +0100
>>>> From: antoine.zen@gmail.com
>>>> To: dranne27@hotmail.com;
>>> ecos-discuss@ecos.sourceware.org
>>>
>>>> Subject: Re: [ECOS] target.ld error
>>>>
>>>> First, as somebody told me yesterday, it is important to reply also to
>>>> the mailing list, not only me. Some others will be maybe interested by
>>>> your issue.
>>>> With this makefile, does the error is just linking or does is not compile
>>> also ?
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: ANILA SOOMRO 
>>>> Date: 11 janv. 2008 11:01
>>>> Subject: RE: [ECOS] target.ld error
>>>> To: Antoine Zen-Ruffinen 
>>>>
>>>>
>>>>
>>>> I am attaching the makefile as well. Its the makefile present within
>>>> the examples directory.
>>>> I have edited it and the install directory is PowerPCSimulated_install.
>>>>
>>>> dranne
>>>>
>>>>
>>>>
>>>>> Date: Fri, 11 Jan 2008 09:52:23 +0100
>>>>> From: antoine.zen@gmail.com
>>>>> To: dranne27@hotmail.com
>>>>> Subject: Re: [ECOS] target.ld error
>>>>> CC: ecos-discuss@ecos.sourceware.org
>>>>>
>>>>> Hello,
>>>>>
>>>>> I am not very experienced with eCos, I am also almost new to it. But I
>>>>> think I can help you. (such problem are not far for me) It is maybe
>>>>> just a problem of path.
>>>>> What is you target platform ?
>>>>> Can you post us the makefile you use or the command you type and the
>>>>> complier/linker output ?
>>>>>
>>>>> Antoine
>>>>>
>>>>> 2008/1/11, ANILA SOOMRO :
>>>>>>
>>>>>> I am using the eCos user guide to compile sample program hello.c but I
>>> get this error: cannot open linker script file target.ld: No such file or
>>> directory
>>>>>> although target.ld exists.
>>>>>> I am using cygwin bash on WinXp, can anyone help? I am new to Cygwin
>>> and eCos.
>>>>>>
>>>>>> Thanks in advance.
>>>>>> dranne
>>>>>>
>>>>>>
>>>>>>
>>> _________________________________________________________________
>>>>>> Share life as it happens with the new Windows Live.
>>>>>>
>>> http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
>>>>>>
>>>>>> --
>>>>>> Before posting, please read the FAQ:
>>> http://ecos.sourceware.org/fom/ecos
>>>>>> and search the list archive:
>>> http://ecos.sourceware.org/ml/ecos-discuss
>>>>>>
>>>>>>
>>>>
>>>>
>>>> ________________________________
>>>> Share life as it happens with the new Windows Live. Start sharing!
>>>
>>>
>>> ________________________________
>>> Share life as it happens with the new Windows Live. Start sharing!
>>

_________________________________________________________________
Helping your favorite cause is as easy as instant messaging.?You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join

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