This is the mail archive of the
mailing list for the eCos project.
Re: RedBoot/Hello World
Chris Hanna wrote:
> I have built RedBoot and have it running on my board. I would like to build
> the hello.c example program, and load it and run it in RedBoot. Should I
> build hello using the libtarget.a created when I built RedBoot ?
> I try this, but the linker complains:
> /opt/ecos/rb-lx2/examples/hello.c:6: undefined reference to `printf'
> /opt/ecos/rb-lx/install/lib/libtarget.a(redboot_main.o): In function
> /opt/ecos/ecos/packages/redboot/current/src/main.c:152: undefined reference
> to `RedBoot_version'
Nope. Rebuild using the default template, not the redboot one and use that.
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine