[ECOS] i386 newlib

McAtee, Kip Kip.McAtee@SpirentCom.COM
Wed Feb 13 21:40:00 GMT 2002


First off, let me thank everyone who has responded to my
questions, I appreciate it, a lot.

I'm able to build the redboot i386 examples, but they create a full
blown, bootable image org'd at 0x3000 due to:

    ram : ORIGIN = 0, LENGTH = 0xa0000

    .vectors   0x3000  :      { . = . ; KEEP(*(.vectors)) } >  ram 

I'd like to just build an app that I can download via S-Records
in order to use the redboot 'go' command.

Don't I need a crt0.o and a libc.a and it's cousins in my
cross-compiler hierarchy for this purpose?

Is there a way to create the libraries from the redboot build
tree, I can craft a crt0.o easily enough.


-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.com]
Sent: Wednesday, February 13, 2002 2:44 PM
To: McAtee, Kip
Cc: 'ecos-discuss@sources.redhat.com'
Subject: Re: [ECOS] i386 newlib

"McAtee, Kip" wrote:
> I'm now trying to create an application, but I find
> that I don't have crt0.o or libc.a.
> bash/tools find . -name "*.o"
> ./H-i686-pc-cygwin/lib/gcc-lib/i386-elf/2.95.2/crtbegin.o
> ./H-i686-pc-cygwin/lib/gcc-lib/i386-elf/2.95.2/crtend.o
> bash/tools find . -name "*.a"
> ./H-i686-pc-cygwin/lib/gcc-lib/i386-elf/2.95.2/libgcc.a
> ./H-i686-pc-cygwin/lib/libbfd.a
> ./H-i686-pc-cygwin/lib/libiberty.a
> ./H-i686-pc-cygwin/lib/libopcodes.a
> Do I now need to build newlib?
> Does someone have the configure and make sequence at hand
> to do that for the i386-elf target hosted on i686-cygwin.

Nope. Have a look at the eCos documentation! Specifically the getting
started guide. Also have a look at the examples that can be found in the
examples/ directory of your eCos 1.3.1 installation.

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list