This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Link Error for Hello
- From: "Lin Ming" <lm1121 at yeah dot net>
- To: ecos-discuss at sources dot redhat dot com <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 7 May 2002 10:2:5 +0800
- Subject: [ECOS] Link Error for Hello
- Reply-to: lm1121 at yeah dot net
Hi,
When I use Makefile to make the hello.c, I got the following error messages.
===================================================================================
arm-elf-gcc -mcpu=arm7tdmi -c -o hello.o -g -Wall -Iecos-d/cygwin/usr/eb40/eb_install/include -ffunction-sections -fdata-sections hello.c
arm-elf-gcc -mcpu=arm7tdmi -nostartfiles -Lecos-d/cygwin/usr/eb40/eb_install/lib -Wl,--gc-sections -o hello hello.o -Ttarget.ld -nostdlib
/home/Administrator/install/arm-elf/bin/ld: cannot open linker script file target.ld: No such file or directory
collect2: ld returned 1 exit status
make: *** [hello] Error 1
==================================================================================
But the file "target.ld" is really in that directory. Can anyone tell me why?
Thanks!!
Best Regards,
Lin Ming
2002-05-07
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss