[ECOS] eCos broken for Evaluator-7T
J. J. Farrell
jjf@abaqos.com
Wed Oct 10 13:39:00 GMT 2001
On Wed, Oct 10, 2001 at 08:43:13PM +0100, Chris Garry wrote:
>
> Today I downloaded the latest eCos snapshot from ftp://ftp.skynet.ie/cvs/ .
> It builds to a library okay using the config tool, but when I try and
> compile
> an application, linking with libtarget.a I get the following error:
> <-start insert->
> $ arm-elf-gcc -g -o hello -I/eCosBuild/default_install/include
> hello.c -L/eCosBuild/default_install/lib -Ttartget.ld -nostdlib
>
> /tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0/../../../../arm-elf/bin/ld:
> cannot open linker script file tartget.ld: No such file or directory
>
> collect2: ld returned 1 exit status
> <-end insert->
>
> However listing the lib directory gives:
> <-start insert->
> $ ls /eCosBuild/default_install/lib
> ./ ../ extras.o libextras.a libtarget.a target.ld vectors.o
> <-end insert->
>
> So the linker script file has been created. Any ideas?
Yes - read the error message and ls output more carefully, then
correct the command line!
More information about the Ecos-discuss
mailing list