a few minor problems building egcs-1.0.3a

Jeffrey A Law law@cygnus.com
Fri Jun 12 00:11:00 GMT 1998


  In message < 358051F4.41C8E182@mpegtv.com >you write:
  > Here are a few minor problems that I got when
  > building egcs-1.0.3a on my Linux-x86 system.
  > 
  > 1) In egcs-1.0.3a/gcc/configure.in, the following comment
  > confused my 'autoconf' (version 2.3):
  > 
  > # Configure the subdirectories
  > # AC_CONFIG_SUBDIRS($subdirs)
  > 
  > I get a message like "error: macro AC_CONFIG_SUBDIRS not defined"
  > 
  > It looks like old autoconf try to expend macros in comments!
  > I removed this line and it solved this problem.
Did you download egcs-1.0.3a as a full distribution, or did you update
via diffs from an earlier release?

If you downloaded the full distribution you should not have needed
to run autoconf at all.

  > # Compiler to use for compiling libgcc1.a.
  > # OLDCC should not be the GNU C compiler,
  > # since that would compile typical libgcc1.a functions such as mulsi3
  > # into infinite recursions.
  > OLDCC = cc
  > 
  > Unfortunately there was no link cc -> gcc on my system, so it failed!
  > 
  > I changed that to:
  > 
  > #OLDCC = cc
  > OLDCC = gcc
  > 
  > and go no further problems.  Maybe it should be said
  > somewhere that 'cc' should exist (and possible be a linked
  > to the old gcc) in order for 'make bootstrap' to work.
That should be fine for your situation, and it won't be necessary
in egcs-1.1 (this problem has been fixed for linux systems).

jeff



More information about the Gcc-bugs mailing list