public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Atsumi Hirose <atsumi99@yahoo.com>
To: Grant Edwards <grante@visi.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] building gcc-2.95.1 for eCos 1.2.1
Date: Thu, 04 Nov 1999 20:57:00 -0000	[thread overview]
Message-ID: <19991105051011.27398.rocketmail@web1703.mail.yahoo.com> (raw)

Let's forget about gcc for a second.  Have you verfied
that you can assemble and link a small program and
then load/run it with gdb? Something trivial that just
loads values into registers, reads/writes a few bytes
of RAM?
------------------------------------
Yes, I built a sample app and it compiles fine using
eCos's arm-elf-gcc.  I was then able to load it to my
ARM evaluation board and run it with arm-elf-gdb
without any problems.
 
-------------------------------------

If you're going to be running an embedded system with
eCOS, then you don't need glibc -- all you need is
gcclib.
-------------------------------------
All the documentation I found on building an ARM-Linux
cross toolchain told me to build glibc.  I read your
recommendations for building gcc as a cross compiler
and am about to try them.

--------------------------------

If you try to build libio, libiberty, or glibc for the
ARM target, you're going to have to have a whole set
of header files configured for the ARM target.  If
you're going to be running eCOS, then you aren't going
to have an OS that supports those libraries -- so
don't try to build them
---------------------------------------
I am guessing that this is the problem.  As I
mentioned before, I have built gcc-2.95.1 and
glibc-2.1.2 for an ARM-Linux target.  The compiler
seemed like it was able to compile alright but the
arm-elf-gdb didn't seem to like the file.

I will try to build the compiler again with only
gcclib.  However, the reason I am building this
compiler is because I want to be able to use gcj, am I
going to come across probelms with libgcj?

Thanks,

Atsumi


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

             reply	other threads:[~1999-11-04 20:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-04 20:57 Atsumi Hirose [this message]
1999-11-05  5:42 ` Jonathan Larmour
1999-11-05  6:08 ` Grant Edwards
  -- strict thread matches above, loose matches on Subject: below --
1999-11-03 18:58 Atsumi Hirose
1999-11-04  6:44 ` Grant Edwards
1999-11-04 10:21   ` Grant Edwards
1999-11-02  4:02 Atsumi Hirose
1999-11-02  5:48 ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19991105051011.27398.rocketmail@web1703.mail.yahoo.com \
    --to=atsumi99@yahoo.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=grante@visi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).