This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eCos broken for Evaluator-7T


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]