compiling very new gnu software on a very old machine

Mike Pepe <[email protected]>
Newsgroups gmane.os.solaris.at-home
Message-ID <[email protected]>
Hi folks,

Just out of curiosity, I'm trying to compile some new gnu utilities on 
my very old 3/80 machine. Unpacking the tar, running configure and then 
make doesn't seem to do it anymore. I'm no C expert and I'm not sure 
what's going on, other than maybe there are some options I need to pass 
to configure to make it deal with an 18 year old OS.

Machine is a Sun 3/80, 64MB ram, running SunOS 4.1.1U1

I have GCC 3.2.3 installed from a pre-built package.

So far I've gotten bash 3.2.0 and grep 2.5.1 built, but a bunch of 
others (coreutils, binutils, texinfo, make, etc.) won't build. And yes, 
some won't build because of dependency issues...

any pointers on how to get things built on this old box would be helpful.

As an example, I'm getting this from building binutils:

[root binutils-2.18]# make
make[1]: Entering directory `/home/lamune/binutils-2.18'
make[2]: Entering directory `/home/lamune/binutils-2.18/libiberty'
if [ x"" != x ]; then \
   gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I.././libiberty/../include  -W 
-Wall -Wwrite-strings -Wstrict-prototypes -pedantic 
.././libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I.././libiberty/../include  -W -Wall 
-Wwrite-strings -Wstrict-prototypes -pedantic  .././libiberty/argv.c -o 
argv.o
../libiberty/argv.c: In function `writeargv':
../libiberty/argv.c:320: warning: implicit declaration of function `fputc'
../libiberty/argv.c: In function `expandargv':
../libiberty/argv.c:406: warning: implicit declaration of function `fseek'
../libiberty/argv.c:406: `SEEK_END' undeclared (first use in this function)
../libiberty/argv.c:406: (Each undeclared identifier is reported only once
../libiberty/argv.c:406: for each function it appears in.)
../libiberty/argv.c:411: `SEEK_SET' undeclared (first use in this function)
../libiberty/argv.c:414: warning: implicit declaration of function `fread'
../libiberty/argv.c:431: warning: implicit declaration of function `fputs'
../libiberty/argv.c:444: warning: implicit declaration of function `memmove'
../libiberty/argv.c:446: warning: implicit declaration of function `memcpy'
../libiberty/argv.c:460: warning: implicit declaration of function `fclose'
make[2]: *** [argv.o] Error 1
make[2]: Leaving directory `/home/lamune/binutils-2.18/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/home/lamune/binutils-2.18'
make: *** [all] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.