[ECOS] target.ld error

Antoine Zen-Ruffinen antoine.zen@gmail.com
Fri Jan 11 12:31:00 GMT 2008


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 <dranne27@hotmail.com>:
>
>  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 <dranne27@hotmail.com>
> > Date: 11 janv. 2008 11:01
> > Subject: RE: [ECOS] target.ld error
> > To: Antoine Zen-Ruffinen <antoine.zen@gmail.com>
> >
> >
> >
> > 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 <dranne27@hotmail.com>:
> > > >
> > > > 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!

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



More information about the Ecos-discuss mailing list