public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: ANILA SOOMRO <dranne27@hotmail.com>
To: Antoine Zen-Ruffinen <antoine.zen@gmail.com>
Cc: eCos Mailing List <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] target.ld error
Date: Tue, 22 Jan 2008 06:40:00 -0000	[thread overview]
Message-ID: <BLU111-W31E456B5C5005B5B2EEA60D83E0@phx.gbl> (raw)
In-Reply-To: <2cbbd8de0801140451v4f862e16mdfd9e68ed7f4603@mail.gmail.com>



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

  reply	other threads:[~2008-01-22  6:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BLU111-W317191F97CB76ED8313455D84B0@phx.gbl>
2008-01-11 10:32 ` Antoine Zen-Ruffinen
     [not found]   ` <BLU111-W1105E0211A6739699F4AA5D84B0@phx.gbl>
2008-01-11 12:31     ` Antoine Zen-Ruffinen
2008-01-14 12:51       ` Antoine Zen-Ruffinen
2008-01-22  6:40         ` ANILA SOOMRO [this message]
2008-01-22 18:27           ` Mike Arthur
2008-01-23  6:32             ` ANILA SOOMRO
2008-01-11  8:01 ANILA SOOMRO
2008-01-11  8:52 ` Antoine Zen-Ruffinen
2008-01-11 10:43 ` Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU111-W31E456B5C5005B5B2EEA60D83E0@phx.gbl \
    --to=dranne27@hotmail.com \
    --cc=antoine.zen@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).