Welcome to my little FTP site. email: J.W.Hawtin@lut.ac.uk or ftp@flipper.lut.ac.uk I am sorry this site is not up all the time because it have a dual personality as a PC and a UNIX box. Anyway, this site is intended as a repository for Solaris 2 for Intel configured sources. So please up load any source of interest to the incoming directory and mail me what it is, newer versions are aways welcome. The solaris2-configured-X86 directory contained all the source I have worked on I have not completly checked the resulting code, if there are any problems tell me (with any fixes if you have them). The other-source directory, just has interesting source in it. I have not touched it but I might! and thats why it is there. *NEW USERS* Ok so what do we need to get going, well two things really, assuming you dont have a compiler, you need gcc, there is a precompiled one in the archive, you will also need a copy of gzip, which has been configured, and just needs compiling (NOTE the above two sources and compressed not gziped! so you can bootstrap with them). I suggest you recompile gcc with the precompiled version the source. ALL OTHER SOURCE IS GZIPED TO SAVE SPACE, PLEASE USE GZIP ONLY. The compiled installs into /optn/gnu A little help, most gnu programs can be configured with configure i386-unknown-solaris2 if you have a 486, try i486 first so that it takes full advantage of your machine, Bare in mind it is a System V machine so defines like SYSV SVr4 will be of interest in new source. USG helps in alot of gnu software BUT in X11 in means something else. Gcc can be optimised with -O2 for best performance. Take a look at /usr/ucbinclude and /usr/ucblib they contain libraries that do BSD emulation for SYSV machines try not to use it unless you have to, but sometimes there is no other option. How I have configured my directories, I have /usr/local, /usr/local/X11pd, /usr/local/games each with bin, man, lib etc.... X11, I suggest you replace, the sun.cf file in /usr/openwin/lib/config with my version, with means you need to modify the resulting Makefile less, I have not had time to completely fix it yet so if you have please give me it! The dynamic linker on X86 AAAAGGHHHHHHH!!!!!!!! Well this is a bitch there are things that can be done with it however, the ld command does list the missing objects, and where they are missing from which is quite cool, to load dynamically, you can just set LD_LIBRARY_PATH to /usr/lib:/usr/openwin/lib:/usr/ucblib however as that is environment variable specific it does not work for daemons that use say /usr/ucblib you could link in the .a versions of the libraries that reduces portablity and greatly increases object size, so dont do it. The best option is calling ld with the path to be searched for libraries, this can be done with -R/usr/lib...... most people however don't called ld directly but rather their compiler does, you can get gcc to send the -R command to the link if at the link stage it is called with -Wl, so the full command to add is:- -Wl,-R/usr/lib:/usr/openwin/lib:/usr/ucblib ENJOY James.