From: "John Breen" <jab3@hotmail.com>
To: crossgcc@cygnus.com, egcs@cygnus.com
Subject: Bulding a virgin egcs cross-compiler
Date: Fri, 25 Sep 1998 19:05:00 -0000 [thread overview]
Message-ID: <19980925184619.20029.qmail@hotmail.com> (raw)
I'm having so much trouble, I decided to add the crossgcc list to this,
since some of the people on there might be using egcs but don't get the
egcs list.
Last winter, I built a gcc-2.7.2.2 based cross compiler with newlib for
m68k-elf under Linux. Other than having to get patches to allow elf
with m68k, it all went fairly smoothly (I used the separate-tree
process, not the single-tree).
Now I'm trying to build an egcs-1.1a based cross compiler for the same
target, under HPUX-10.20. The headers for m68k-elf are somewhat
experimental, but everything else is stock. I've run into a few
oddities.
First, egcs requires certain system headers during the build. I copied
those over from newlib, but it strikes me odd that egcs needed them when
gcc-2.7.x didn't.
Then, when it got to libf2c (which I don't even want, but can't figure
out how to get rid of), it decided that it needed crt0.o. It was
suggested that I change to the "one tree" build. Since I had binutils
built already, I just linked in the parts of newlib as shown in the
crossgcc FAQ. This seemed to work as far as building newlib (and
finding headers), but it still failed for lack of crt0.o.
At this point, I punted and copied over the rtems crt0.c (which looks
like just a dummy). Then it failed somewhere down in libf2c because it
couldn't find autoconf. I tried renaming the libf2c source directory,
to see if it would just skip it. It didn't. I tried running configure
again and rebuilding. It appears to be rebuilding the whole thing from
scratch, which will probably take the rest of the afternoon.
Has anyone else had this much trouble? One person suggested privately
that the compiler is probably built; but until I figure out how to get
past libf2c, I won't know how much further the build process really has
to go.
--
John A. Breen
jab3@hotmail.com
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
next reply other threads:[~1998-09-25 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-25 19:05 John Breen [this message]
1998-09-26 8:47 ` Robin Kirkham
1998-09-26 15:59 John Breen
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=19980925184619.20029.qmail@hotmail.com \
--to=jab3@hotmail.com \
--cc=crossgcc@cygnus.com \
--cc=egcs@cygnus.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).