problems compiling egcs-1.1.1

Alexandre Oliva
Thu Jan 7 03:30:00 GMT 1999

On Jan  5, 1999, Wolfgang Korsch <> wrote:

>    I try to install egcs-1.1.1 on my Alpha running DU 4.0D.
>    configure --prefix=/usr/local2 --enable-shared

>     9569:/usr/local2/cern/root/bin/root: /sbin/loader: Fatal Error: cannot map

Except for the testsuite, egcs won't try to arrange by itself that
programs linked with a shared libstdc++ will be able to find it.  You
should set LD_RUN_PATH when you link the program or LD_LIBRARY_PATH
when you run it, or add /usr/local2/lib to the standard shared library 
path (if such a thing exists on DU4) or create links to the installed in /usr/lib.

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -g -O2 -c getopt.c
> sh: .deps/getopt.P: cannot create

You'll probably be able to work-around this problem by creating the
.deps directory within the directory that should contain getopt.o
(texinfo/lib, in the build tree, I think).  This problem is fixed in
the development tree.

Alexandre Oliva  aoliva@{}
Universidade Estadual de Campinas, SP, Brasil

More information about the Gcc-bugs mailing list