public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Success(?): egcs-1.1a, target=m68k-elf
@ 1998-09-25 20:49 John Breen
  0 siblings, 0 replies; only message in thread
From: John Breen @ 1998-09-25 20:49 UTC (permalink / raw)
  To: egcs

This may be a bit premature, but hopefully I'll head off numerous 
replies and suggestions to the other mail I sent today.

I finally got egcs compiled as an m68k-elf cross-compiler; however, I 
haven't actually run the code yet, due to my target being in the lab for 
modifications.  But I wanted to document some of this before my memory 
fades.

Here are some pertinent data:

  > cat config.status
  #!/bin/sh
  # This file was generated automatically by configure.  Do not edit.
  # This directory was configured as follows:
  ../src/egcs-1.1a/configure --host=hppa1.1-hp-hpux10.20   
--with-gcc-version-trigge
  r=/data/ecad_libs/egcs/src/egcs-1.1a/gcc/version.c   
--prefix=/data/ecad_libs/cont
  rib --target=m68k-elf --with-gnu-as --with-gnu-ld --with-dwarf   
--with-newlib --w
  ith-elf --norecursion 
  # using "mh-frag"

  > m68k-elf-gcc --version
  egcs-2.91.57

  > ../src/egcs-1.1a/config.guess 
  hppa1.1-hp-hpux10.20

Off the top of my head, here are the things I had trouble with:

1.  header files: I was surprised it needed the system header files to 
build.  In the end I got around it by creating links in the top-level 
source directory (egcs-1.1a/) to libgloss and newlib in the newlib 
source directory (newlib-1.8.1).  This also resulted in automatic 
building of newlib (although I have no idea how to turn it off).

2.  libf2c: I had lots of trouble here.  First, it requires crt0.o.  I 
put in a dummy one and got past that.  Then it complained about needing 
autoconf (after rereading the FAQ, this may have been due to me applying 
a patch to libf2c that I found on the list).  In the end I renamed 
libf2c in the source tree and reconfigured.  I'm assuming this is only 
needed for Fortran.

3.  When installing, I set LANGUAGES="c c++".  It died with a "no rule 
to make 'c++`" message.  I set LANGUAGES to "c" and tried again, and the 
install completed (although I didn't try any c++ code, but it looks like 
libstdc++ is there).

My thanks to those of you who offered suggestions and help.
--
John A. Breen
jab3@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-25 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-25 20:49 Success(?): egcs-1.1a, target=m68k-elf John Breen

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).