This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: xscale-elf-gcc [error]
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Nirmal Prasad <prasad_nirmal at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Jan 2005 14:12:04 +0100
- Subject: Re: [ECOS] xscale-elf-gcc [error]
- References: <20050119033410.66141.qmail@web51608.mail.yahoo.com>
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss