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: Newbie question


Stephen Polkowski wrote:
> output:
> i386-elf-gcc                                     -o hello.o
> -g -Wall -I/home/stephen/ecos/pc/install/include
> -ffunction-sections -fdata-sections hello.c
> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: cannot open
> crt0.o: No such file or directory
> 
>         Am I using the correct ecosconfig parameters?  Thanks in
> advance.

Yes, but for some reason there isn't a "-c" on that command you being
output. In the makefile there should be a line:


%.o: %.c
        $(XCC) -c -o $*.o $(CFLAGS) $(EXTRACFLAGS) $<

which should cause the -c to appear, but for some reason it isn't. Perhaps
you accidentally editted it to do that?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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