SGI Freeware
Some popular freeware for SGI IRIX
Cool, Powered by SGI, animated logo

Last Modified: Nov 2, 1998

Note: this is an archive of Ariel Faigon's old web pages.


Intro  |  db 1.85  |  top-3.4  |  gcc-2.7.2.2  |  ldd   

Note: all the following have moved to the official SGI/freeware site:

Introduction

Here's some often requested freeware that was ported-to or built and tested on SGI IRIX systems. This freeware is made available with sincere hope that you'll find it useful yet it is provided as is and with no claims beyond "it works for me" and no warranties of any kind.

SGI software is also available elsewhere. Particularly, I would like to recommend you check out the comprehensive anon ftp list compiled by Bill Henderson, Scott Henry's distributions of the newest perl, emacs and xntp, The excellent SGI software archive maintained by Wessel de Roode, and the SGI freeware CDs on Silicon Surf. I put here only a few packages that are either not available elsewhere, or that are so system dependent so they break between OS releases, or that are simply requested frequently enough on the net to make this effort worthwhile.

Note: depending on the version or your mailcap configs your web browser may try to display some compressed files rather than saving them to your local disk. In Netscape you may use the SHIFT mouse-button, or right mouse button instead of the left to force a Save-As.

Please verify the sizes and checksums after downloading to make sure these files were not tampered with, or otherwise corrupted. Let me know ASAP if they are. Also, please let me know which software you would like me to add (without promising anything, of course ;-). Any feedback, good or bad may help make this more useful in the future so please email me your comments.

If you're interested in building freeware on IRIX yourself, please check out these notes on building freeware on IRIX.


Berkeley DB 1.85 and 1.86

A replacement for dbm/ndbm with many enhancements. Ported to IRIX, verified to work on IRIX 5.3, 6.2, 6.3, 6.4, and 6.5. The libdb-1.85.tar.Z file includes the following (o32 and n32 libraries + header file):
-rw-r--r-- root/sys     106468 Nov 26 16:58 1996 usr/lib/libdb.so
-rw-r--r-- root/sys     145508 Nov 26 10:50 1996 usr/lib32/libdb.so
-r--r--r-- root/sys       8516 Apr  1 17:58 1996 usr/include/db.h
The file libdb-man.tar.Z includes the man pages in both original and preformatted+packed formats:
-rw-r--r-- root/sys       8373 Feb 25 11:50 1997 btree.3
-rw-r--r-- root/sys      13488 Feb 25 11:50 1997 dbopen.3
-rw-r--r-- root/sys       5350 Feb 25 11:50 1997 hash.3
-rw-r--r-- root/sys       6026 Feb 25 11:50 1997 mpool.3
-rw-r--r-- root/sys       6914 Feb 25 11:50 1997 recno.3
-rw-r--r-- root/sys       5774 Feb 25 11:50 1997 btree.z
-rw-r--r-- root/sys      10173 Feb 25 11:50 1997 dbopen.z
-rw-r--r-- root/sys       3293 Feb 25 11:50 1997 hash.z
-rw-r--r-- root/sys       5201 Feb 25 11:50 1997 mpool.z
-rw-r--r-- root/sys       4698 Feb 25 11:50 1997 recno.z
The file libdb-1.8x-src.tar.Z includes the full source code of the distribution of both db.1.85 and db.1.86 plus a common parent directory libdb where you can get an idea on how to compile both versions on SGI with -n32 and -64 bit support.

       
File Size (bytes)sum -r
libdb-1.85.tar.Z 15556662662   304
libdb-man.tar.Z 5366860318   105
libdb-1.8x-src.tar.Z (full source) 97797160826   1911

Notes:


Top 3.4 with enhancements

Top is a process display utility which continuously displays your machine process state. It sorts the processes in a "most demanding first" order. Processes can be sorted by percentage of CPU, memory consumption order and more. They can also be manipulated (killed, reniced) from the top display and more.

This executable was compiled on 6.2 and verified to run on 6.2, 6.3, and 6.4. IRIX 6.5 includes this version of top (plus a few fixes) as standard. On multiprocessor machines it supports the cpu_id field for running processes. It also supports all the SGI advanced scheduling schemes (weightless, real-time processes etc.) Full source code is also provided in case you would like to build it yourself or learn by example about IRIX procfs interfaces.

gr_top is merely a perl wrapper which runs top inside a xwsh window. It emulates the old direct IRIX GL gr_top in a way that can be run remotely displaying on any machine that supports X Window.

Note: this top will not run on 5.x systems because they have a COFF (rather than ELF) based kernel. Sorry.

The file top-3.4.tar.Z includes the top executable, gr_top, and a man page for IRIX top:

-rwxr-sr-x root/sys      85920 Jun 25 13:15 1997 top
-rwxr-xr-x root/sys       2064 Feb  5 14:58 1997 gr_top
-r--r--r-- root/sys      14281 Jun  4 16:01 1997 top.1
top needs to be installed setgid sys to be able to read /dev/kmem. i.e. you should:
	% chgrp sys top
	% chmod g+s top
After you install it.
     
File Size (bytes)/bin/sum -r
top-3.4.tar.Z 6291355279   123
top-3.4-src.tar.Z (full source) 38649055909   755


gcc 2.7.2.2

gcc 2.8.1

Note: Both gcc 2.8.1 (+ a few recent patches) and libstdc++ have officially moved to the SGI freeware distribution please download it from there.


Other

ldd

ldd: list dynamic dependencies, is a standard utility on some other Unix systems (notably Linux and Solaris). It does what its name implies: lists the library dependencies of a linked executable or DSO. Note that the IRIX ``elfdump -Dl'' just lists the libraries that an executable was linked with but not the full path of those that are actually used, plus it doesn't care about environment variables that may affect the DSO resolution and its interface (multiple options) is big and complex for many.

I implemented the ldd functionality in perl5, by relying standard IRIX utilities such as file, and elfdump. plus some reading of man dso. This is a straight perl script, just put it wherever you wish. This ldd is a two hours or so hack inspired by numerous requests for such tool on IRIX. Requests for enhancements and bug reports would be greatly appreciated. [Download].


Is your favorite freeware missing?
Please email drk@sgi.com and I'll see what I can do.

Thanks to Steve Alexander for making me create this site
and to all of you that keep sending me comments.

Even cooler, Powered by SGI, animated logo