From: 71620.622@compuserve.COM (Donald Frankel)
Subject: BUG Report
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 9 Sep 1992 21:57:45 GMT

To: bug-gcc-@prep.ai.mit.edu
From: Steve King, via Don Frankel, 71620.622@compuserve.com

        Having beaucoup problems building the glibc-1.03 on a Sun sparc.
        The sequence is:

        sh configure sun4
        edited Makeconfig file, commenting out lines 92,93,94 as I'm using 
                gcc 2.2.2
        make

        I get a make error doing this.  Here is the result from the terminal.

IPX# configure sun4
Configuring the GNU C Library for `sun4'.
Object files, etc. will go in the directory `sun4'.
Using system-dependent files from directories:
unix/bsd/sun/sun4 unix/bsd/sun/sunos4
IPX# make
make: fopen: sun4/sysd-dirs: No such file or directory
make: fopen: sun4/sysdirs: No such file or directory
make: fopen: sun4/sysdep-Makefile: No such file or directory
(echo define sysdirs; ./find-sysdirs < sun4/Sysnames; echo endef) > 
sun4/sysdirs
(for dir in `cat sun4/sysdirs`; do file=sysdeps/$dir/Makefile; if [ -r $file 
]; then echo include "\$(..)$file"; else true; fi; done) > 
sun4/sysdep-Makefile
(echo define sysdep-subdirs; for dir in `cat sun4/sysdirs`; do if [ -r 
sysdeps/$dir/Subdirs ]; then cat sysdeps/$dir/Subdirs; else true; fi; done; 
echo endef) > sun4/sysd-dirs-tmp
mv sun4/sysd-dirs-tmp sun4/sysd-dirs
make: fopen: sun4/depend-: No such file or directory
(for file in sysdep.dep set-init.dep version.dep start.dep; do echo "include 
sun4/$file"; done) > sun4/depend-
make: fopen: sun4/sysdep.dep: No such file or directory
make: fopen: sun4/set-init.dep: No such file or directory
make: fopen: sun4/version.dep: No such file or directory
make: fopen: sun4/start.dep: No such file or directory
cd sun4; gcc -pipe sysdeps/unix/bsd/make-local_lim.c -o make-local_lim
/usr/local/lib/gcc-lib/sparc-sun-sunos4.2/2.2.2/cpp: 
sysdeps/unix/bsd/make-local_lim.c: No such file or directory
make: *** [sun4/make-local_lim] Error 1

        

        Here is what the "sun4" directory has in it:



IPX# cd sun4
IPX# ls -l
total 6
-rw-r--r--  1 root           38 Sep  9 16:13 Sysnames
-rw-r--r--  1 root           28 Sep  9 16:13 config-name.h
-rw-r--r--  1 root           98 Sep  9 16:14 depend-
-rw-r--r--  1 root           33 Sep  9 16:14 sysd-dirs
-rw-r--r--  1 root          320 Sep  9 16:14 sysdep-Makefile
-rw-r--r--  1 root          129 Sep  9 16:14 sysdirs
IPX# pwd
/disk1/GNU/experimental/glibc-1.03/sun4
IPX#


        Here's my path:


IPX# echo $path
. /usr/local/bin /bin /usr/bin /usr/ucb /usr/etc /usr/bin/X11 
/usr/openwin/bin/xview /usr/openwin/bin


        Here's what's in /usr/local/bin:


IPX# cd /usr/local/bin
IPX# ls -l
total 5017
-rwxr-xr-x  1 root       189975 Aug  1 11:57 ar
-rwxr-xr-x  1 root       245760 Aug  1 11:57 bison
-rwxr-xr-x  1 root         1410 Sep  4 16:03 c++
-rwxr-xr-x  1 root       151032 Aug  1 11:57 etags
-rwxr-xr-x  1 root       835308 Aug  1 11:57 f2c
-rwxr-xr-x  1 root         1410 Sep  4 16:03 g++
-rwxr-xr-x  1 root         1449 Aug  1 11:57 g++dep
-rwxr-xr-x  2 root        98304 Sep  4 16:03 gcc
-rwxr-xr-x  1 root       247483 Aug  1 11:57 gcc-ld
-rwxr-xr-x  2 root        98304 Sep  4 16:03 gcc-sparc-sun-sunos4.2
-rwxr-xr-x  1 root      1138688 Aug  1 11:57 gdb
-rwxr-xr-x  1 root        10350 Sep  8 17:47 genclass
-rwxr-xr-x  1 root       275321 Aug  1 11:57 gperf
-rwxr-xr-x  1 root       187382 Aug  1 11:57 gprof
-rwxr-xr-x  1 root       247483 Aug  1 11:57 ld
-rwxr-sr-x  1 root       518653 Sep  8 15:39 make
-rwxr-xr-x  1 root       190439 Aug  1 11:57 nm
-rwxr-xr-x  1 root       124137 Aug  1 11:57 ranlib
-rwxr-xr-x  1 root       138109 Aug  1 11:57 size
-rwxr-xr-x  1 root       131429 Aug  1 11:57 strip
-rwxr-xr-x  1 root        65536 Aug  1 11:57 texi2roff
-rwxr-xr-x  1 root        65536 Aug  1 11:57 unixlink
IPX#

        

        What the devil is going on?


                                        Steve King

Newsgroups: gnu.gcc.bug