I've never had a problem with using a 4.1.3 binary
on earlier 4.1.X. Looking
at my gcc distribution. I've put a distribution at
http://setiathome.ssl.berkeley.edu/~korpela/gcc_sunos_4_1.tar.gz
It extracts to a subdirectory (gnu). The executable directory is
gnu/H-sparc-sun-sunos4.1/bin
The only issue is with some dynamically linked libraries (linked
against shared libraries that don't exist....
Some symlinks usually fix that.
I'm surprised that the directories are hard coded in the executable. Usually
LD_LIBRARY_PATH is searched, so you can add library directories to that.
Eric
When stuff's linked against libjnk.so.4.1 it doesn't necessarily
work with libjnk.so.4.0 if the features in the .o file change.
I loved rebuilding SunOS 4.1.x with the newer internet resolver stuff
from resolv+ and rebuilding Sun's libc...
One mistake and everything's history and you're loading the miniroot
to put back the original. The trick is having static linked
ls, cp, mv in a subdirectory off / ...
Bill
--
bpechter(a)monmouth.com | FreeBSD since 1.0.2, Linux since 0.99.10
Brainbench MVP | Unix Sys Admin since Sys V/BSD 4.2
Unix Sys.Admin. | Windows System Administration: "Magical Misery Tour"