successfully built egcs-1.1.2 on sparc-sun-sunos4.1.2

Stephan I. Boettcher stephan@nevis1.columbia.edu
Fri Mar 26 08:29:00 GMT 1999


Hello!

egcs-1.1.2 was successfully built for sparc-sun-sunos4.1.2.

It took 3 days, on an old Sparc Station 2

> uname -a
SunOS nevise3 4.1.2 2 sun4c
> ./config.guess
sparc-sun-sunos4.1.2

I did not run the testsuite.

Thank you very much for providing egcs!

Kind regards
Stephan



Appendix: The problems encountered during the `double bootstrap' built

Just for the curious.

Most problems were due to unusual limitations on filesystem access and
user ids.

The first built:

 * was done with the native cc comipler and the native make.
 * built in a separate build directory as recommended
 * source and build directories on an NFS mounted filesystem (on an
   Irix5.3 challenge), no root access.
 * source directory untarred by a different user than the build user.
   (The native tar failed to untar the source to the NFS filesystem.)

`make bootstrap' spits out errors, because some scripts in the source
tree lacked world read/execute permissions: 
   --> all files made world readable
   --> all executables made world executable

`make bootstrap' failed when it could not find some source files in the
build tree (problem of the native make???)
    no rule to make ../lib/system.h
The cure:
    ln -s $SRC/texinfo/lib/*.h $BUILD/texinfo/lib/

`make install' required a simmilar fix:
    ln -s $SRC/gcc/f/* $BUILD/gcc/f/

`make install' to the NFS mounted target ($PREFIX) failed:

Some files appeared in the install tree owned by root, or by the user
who untarred the source.  Don't ask me how.  I did not even know the
root password at that time.  The install failed because those files
could not be chmod-ed. (Problem with some native tools, NFS?)

Fix: symlinking the install ($PREFIX) directory to a local disk.

`make install' to a local disk succeded eventually.



I installed GNU make and some other gnu utilities using the fresh egcs
and went on to the next step, a fresh build of egcs-1.1.2:

 * using egcs and GNU make
 * build inside the source tree
 * src/build tree NFS mounted (not enough space locally)
 * source untared by the build user locally (with a fresh GNU tar).

 tar -xvzf egcs-1.1.2.tar.gz
 cd egcs-1.1.2
 ./configure --prefix=/usr/local/gnu
 make boostrap
 make install

--> No problems whatsoever

The root user wasn't involved, except for setting up the local
directories. 

(The second built was done out of curiosity, and to change the
--prefix)

-- 

------------------------------------------------------------------------
Stephan Boettcher                                   FAX: +1-914-591-4540
Columbia University, Nevis Labs                     Tel: +1-914-591-2863
P.O. Box 137, 136 South Broadway      mailto:stephan@nevis1.columbia.edu
Irvington, NY 10533, USA          http://www.nevis.columbia.edu/~stephan
------------------------------------------------------------------------


More information about the Gcc mailing list