Problem building egcs-1.1b on SunOS 5.5.1
Johann Petrak
johann@ai.univie.ac.at
Thu Nov 19 08:15:00 GMT 1998
First of all, many thanks for the hint, I really was ignoring
the documentation here (this was working for
ages on a SunOS 4.1.4 system, so I got into the bad habit :)
However, doing the build in a brand new, completely seperate
build directory didnt change anything with that error.
I played around a bit and found out that on this system,
we seem to need _sys_siglist instead of sys_siglist.
Thus, adding
#define sys_siglist _sys_siglist
in collect2.c seemed to remove this problem.
Now the build stops some time later with another error:
./xgcc -B./ -DIN_GCC -DSVR4 -g -I./include -I. -I../../egcs-1.1b/gcc
-I../../egcs-1.1b/gcc/config -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions -fPIC \
-c ../../egcs-1.1b/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
/usr/ccs/bin/as: "/var/tmp/ccYJw3OZ.s", line 7: error: quoted-string
operand required
/usr/ccs/bin/as: "/var/tmp/ccYJw3OZ.s", line 13: error: quoted-string
operand required
gnumake[2]: *** [crtbegin.o] Error 1
I have no idea why /usr/css/bin/as is used here (/usr/css/bin
is not even in the path and there es a GNU-as in /usr/local/bin)
Also, I have no idea wheather this is a problem with that
particular as or with the temporary assembler program file.
Johann
Gerald Pfeifer wrote:
>
> 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