Problem building egcs-1.1b on SunOS 5.5.1

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Wed Nov 18 07:08:00 GMT 1998


On Wed, 18 Nov 1998, Johann Petrak wrote:
> I did, in the egcs-1.1b directory:
>   mkdir BUILD
>   cd BUILD
>   ../configure --enable-shared
>   gnumake bootstrap-lean
> 
> What is the problem here?

It seems that you tried to bootstrap in a directory which is a
subdirectory of the source tree.

>From http://egcs.cygnus.com/install/configure.html

  First, we highly recommend that egcs be built into a separate directory
  than the sources which does not reside within the source tree. This is
  how we generally build egcs; building where srcdir == objdir should
  still work, but doesn't get extensive testing; building where objdir is
                                                 ^^^^^^^^^^^^^^^^^^^^^^^^
  a subdirectory of srcdir is unsupported. 
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Part of that description is by myself, so I seriously appreciate any
feedback on how to improve it. :-)


Perhaps we could have the Makefile detect this condition, print an 
error and abort?

Hope this helps,
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list