This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Newbie question
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS] Newbie question
- From: Stephen Polkowski <stephen at centtech dot com>
- Date: Fri, 06 Jul 2001 15:30:01 -0500
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Centaur Technology
- References: <3B45DF1F.149248BA@centtech.com> <3B461647.4B05285A@redhat.com>
Thanks Jonathan. That fixed my problem.
Jonathan Larmour wrote:
>
> 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/
--
Stephen Polkowski
Centaur Technology
Austin, TX
(512) 418-5730