This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: xscale-elf-gcc [error]
- From: Nirmal Prasad <prasad_nirmal at yahoo dot com>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Jan 2005 05:26:06 -0800 (PST)
- Subject: Re: [ECOS] xscale-elf-gcc [error]
Andrew,
The next line says it picked up the correct target.ld
opened script file
/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITON_STK1_RAM
/TRITON_STK1_RAM_install/lib/target.ld
the line in question is much below [after vectors.o]
..
attempt to open failed
/xscale-021022/H-i686-pc-cygwin/bin/../lib/gcc-lib/xscale-elf/3.1-xscale-021022/
../../../../xscale-elf/bin/ld: cannot open : No such
it doesn't seem to be giving the filename unlike the
output for target.ld and vectors.o
Thanks
Nirmal
--- Andrew Lunn <andrew@lunn.ch> wrote:
> On Tue, Jan 18, 2005 at 07:34:10PM -0800, Nirmal
> Prasad wrote:
> > Hello,
> >
> > I am trying to build an ecos-ram application with
> a
> > target.ld but ld breaks with an error stating it
> > cannot open a file (no name is provided). Any
> > pointers?
> > Verbose build log attached below..
> >
> > Thanks
> > Nirmal
> >
>
-----------------------------------------------------
> > $ make all
> > xscale-elf-gcc -c -g -Wall
> >
>
-I/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TRITO
> > N_STK1_RAM/TRITON_STK1_RAM_install/include
> > -ffunction-sections -fdata-sections
> > -o boot.o boot.c
> > boot.c: In function `main':
> > boot.c:5: warning: implicit declaration of
> function
> > `printf'
> > xscale-elf-gcc -nostartfiles
> > -L/cygdrive/d/cygwin/ecos_23/build/RAM_Versions/TR
> > ITON_STK1_RAM/TRITON_STK1_RAM_install/lib -Wl,
> > --gc-sections -Wl,--verbose -Ttar
> > get.ld -nostdlib -o boot.elf boot.o
> > GNU ld version 2.11-xscale-021022 20020119
> > Supported emulations:
> > armelf
> > cannot find script file target.ld
>
> It cannot find target.ld, so this suggest something
> is wrong with the
> path you pass with -L. Check this is correct.
>
> Andrew
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss