Building Open Source Software on DEC ULTRIX V4.5 (Revision ) RISC / VAX. Revision Joachim Buss

Similar documents
ULTRIX FREEWARE CD-ROMS - Version 2.0 September Joachim Buss

Information for Solaris

Upgrading Your Geant4 Release

COPYRIGHTED MATERIAL. Installing Xcode. The Xcode Installer

The NetBSD Operating. Overview

Cross Compiling. Real Time Operating Systems and Middleware. Luca Abeni

Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's Windows 7.

Q-VET Read Me. V7.9 for OpenVMS 7.3 V8.6 for OpenVMS 8.x V8.6 for Tru64Unix

Install Guide Windows 7 Usb Macbook Pro 2011 Without Cd

Manual Format Flash Drive Ntfs Windows Xp

How To Install Windows Update Vista From Usb Drive Detailed 100 Working Guide

IC Memory Card : How to make it work with your FM-Towns computer or console (V /12/20)

Manually Java 7 Update Bit Windows 7 Minecraft

Apple Mac Os X Manual Snow Leopard 10.6 S >>>CLICK HERE<<<

Manual Format Windows Xp Computer Using Pendrive

Managing Open Source Software on Workstations and Clusters. Theodore Kisner, LBNL

Manually Install Windows Updates Xp On 7 Laptop Using Usb Drive

Manually Install Windows Updates Xp On 7 Laptop

Manually Sync Itouch Touch Itunes Wont Let Me Update My Music To My

Steps To Format Laptop Windows Xp Computer Using

Why You Should Not Use Arch

Build your own NeXT with a virtual machine Created by Matthew Goodrich. Last updated on :10:02 PM UTC

How To Manually Install Software In Linux Mint 13 From Usb

The build2 Toolchain Installation and Upgrade

Update Manual Ios 7.1 Iphone 4s Wont >>>CLICK HERE<<<

Manual Unetbootin Windows 7 Iso To Usb Stick Installieren

Can t Believe It s Linux. a totally different and hypothetical linux distribution

Lesson 9 Transcript: Backup and Recovery

Installing Essentials

Uninstall Java Manually Mac Os X 10.8 Server

Code Blocks Cannot Find Compiler Executable Windows 7

Install Guide Windows 7 Professional 32 Bit Iso

Hardware dependencies

BACKING UP AN IMAGE OF YOUR HARD-DRIVE

Command Line Parameters Linux Check Disk Space Windows 7

Manual Mac Os X 10.6 Iso Update 8 Combo >>>CLICK HERE<<<

Manually Install Windows Updates Xp From Usb

Android Sdk Install Documentation Eclipse. Ubuntu >>>CLICK HERE<<<

Linux on Sony VAIO mini-howto

Manually Enable Aero Windows 7 Home Basic 64

Windows Xp Sp3 Unable To Use Windows Update Not Working

GBA Dev In Linux - GCC for GBA for Linux

[TD 2601-CR] New Advanced File System Utilities Tru64/DUNIX V4.0E Patch - BLIT

Porting uclinux to MIPS

Manual Updating To Ios 7 Ipad 3 Not Working

System Administration for Beginners

Manually Wipe Hard Drive Windows 7 Command Prompt Format

Windows Mail Files Backup And Restore Windows 7 Not Working After Installing Acronis

Flash Drive Won T Mount Windows 7 Won T Recognize

Steps To Format Laptop Windows Xp And Install Windows 7 Dell

Manual Update Java Mac Os X Developer Package

Perl Install Module Windows Xp Without Cd >>>CLICK HERE<<<

On Xp Without Losing Data

Manual Java Install Mac Os X Mountain Lion On Pc Hackintosh

Windows 7 Manual Update Install On New Hard Drive

Usb Port On Manually Create Bootable Windows Xp Install Driver

Web Hosting. Important features to consider

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS.

Instructions For Reformatting A Hard Drive >>>CLICK HERE<<<

Manual Update Java Mac Os X Lion

Requirements for Building and Using the Kernel

Migrating to WebGUI on VMWare

Manually Install Windows Updates Xp From Usb

xlc.c or or or or vac.c or or

Introduction to RISC-V

Cucumber Linux Distribution

Using Linux VMware and SMART to Create a Virtual Computer to Recreate a Suspect's Computer. By:

Manual Install Ubuntu Server From Usb No Cd

Manually Installation Windows Updates Xp From Usb Drive Bootable

On Xp Computer Without Cd Drive

============================================================================

Manually Install Windows Updates Xp On 7 Laptop Using Usb

Cd Manually To Your Hard Drive Without Windows Xp

Manual Xcode Ios 5 Simulator Black Screen >>>CLICK HERE<<<

Using Eclipse for C Programming

EE458 - Embedded Systems Lecture 2 RTEMS Installation

Remove Java Manually Mac Os X Lion Server

RTEMS Release Notes. On-Line Applications Research Corporation. Edition 1, for RTEMS beta3. May 2000

GNU-AVR Building the GNU AVR Toolchain for Mac OS X and Linux

Manually Windows Update Xp To 7 Without Loss Data

Tutorial Windows Media Player 11 Vista 64 Bit Chip

Operating Systems. Written by Justin Browning. Linux / UNIX Distributions Report

2 Installing the Software

Running Wordstar 6 on Windows 7 Using vdos

How To Manually Update Ubuntu Server To Using Cd

Level 23 Eagle Software Conversion Guide. Please see page 5 for changes made to Special Security

G-WAN. Complete install process for Ubuntu (both for the 32 and the 64 OS versions).

How To Install Windows Updates 8 From Usb

Java Plugin Windows Xp 32 Bit Full Version With Key

Manual Install Xp 32 Bit Iso File >>>CLICK HERE<<<

Windows Xp User Manual 32 Bit Iso Image File

OSELAS.Support OSELAS.Training OSELAS.Development OSELAS.Services

Usb Port On Manually Create Bootable Windows Xp Install From Iso

Windows Update Instructions Xp To 7 Without Cd Drive

minit Felix von Leitner September 2004 minit

Manually Run Java Update Windows 7 64 Bit Problem

Pdf in chrome problem. Pdf in chrome problem.zip

Department of Computer Science. Software Usage Guide. CSC132 Programming Principles 2. By Andreas Grondoudis

SAP Workforce Performance Builder 9.5

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

Transcription:

Building Open Source Software on DEC ULTRIX V4.5 RISC / VAX Revision 2.2 01.09.02 Joachim Buss e-mail: joachimbuss@gmx.net ULTRIX is an old BSD style UNIX platform that is in many ways obsolete. It is, however, the only official proprietary OS available for DEC RISC architecture computers. It s also the fastest available OS for both VAX and RISC computers, since it has full support for all accelerated hardware. Building software on this platform can sometimes be very tricky. I ll here give you some advice to increase your chances with ULTRIX. Joachim Buss Page 1 of 5

1 System Software Install the full ULTRIX distribution on your DECstation / VAX, first (I mean ALL subsets). Note that the ULTRIX 4.5 CD-ROM installation doesn't install any unsupported software subsets, these have to be added after installing the full "supported" distribution. You can do this by mounting your ULTRIX 4.5 CD-ROM and change to the directory "/cdrom/<arch>/unsupported" and do a "setld -l./". You can also use scamp command to install those subsets. Apply the Y2K Patch Kit if you have it, and set the date properly before you start compiling. If you don t have the kit you'll have to set the date to one second before the year 2000 and wait two seconds and then set the date to one second before 2001, wait etc. until you reach the current year, after that you can set the actual time and date. ULTRIX doesn't support years after 2038, though. The /bin/sh (and /bin/sh5) that comes with ULTRIX is obsolete and incompatible. Use /usr/bin/ksh instead. I actually copied /usr/bin/ksh over /bin/sh. That works fine. 2 Compiling Console Applications / Daemons Always check dependencies before trying to compile. I use NetBSD's package pages to get an idea of the dependencies, since many programs have incomplete documentation. Most newer programs won t build with DEC MIPS cc2.1 or cc3.0. DEC VAX vcc is even worse. DEC MIPS cc3.0 is better than the other, but gcc is even better than cc3.0. In general, older programs will build with cc3.0 (e.g. X11R5). Even some programs won't build with gcc while cc3.0 works fine... confused? Use a large swap partition for gcc with ULTRIX/RISC (maybe larger than 128 MB). I use 128 MB RAM + 256 MB swap on my best DECstation. Otherwise you might get the error message virtual memory exhausted. The gcc for ULTRIX/VAX doesn't require very much RAM or swap, 8 MB RAM + 64 MB swap will do just fine. Page 2 of 5

If the program you are trying to build complains about that there is no symbol strdup to link to, then add the library libiberty (found in for example GNU binutils package) i.e. add the switch liberty when you link. If get problems with the function usleep you will need to edit the sources to use some other function, because usleep is missing in ULTRIX. Sometimes when napms has been good enough, I ve used that. For gcc-2.7.2 and gcc-2.8.1: softlink gcc to c++, the GNU C++ that comes with gcc versions before 2.9.x doesn't work in ULTRIX. Alternatively: install the gcc- 2.95.2 package. 3 Compiling the MIT X Window System distribution and X11 applications The MIT X distribution will build on any DECstation with a fully installed ULTRIX, since the source code was designed to compile with DEC C. So just go ahead and compile! X11R6.1 builds in less than 2 hours on my DECstation 5000/260 with 128 MB RAM. X11R6.1 is the newest version to build the DECstation X-server Xdec (by default), so if you want a working X-server which is the newest available, this is the package you want! You might want to upgrade to X11R6.1 before you try to compile any newer programs for X (but be sure to clean up the older X11 development environment, before upgrading). Some older programs will compile in fresh ULTRIX installation environment also. I ve had trouble with newer X11 programs, errors may appear during linking phase, I don t know what to do about them, sorry. 4 Replacing ULTRIX program components with new(er) GNU replacements Very important note! ULTRIX ld need to be used during ULTRIX kernel compilation! You can disable various old ULTRIX programs like ld, cxx and use the GNU replacements. At minimum you should use binutils-2.10, gcc-2.95.2 and GNU Page 3 of 5

make-3.79. On VAX you'll have to settle with gcc-2.8.1 for now. Some say that DEC C produces better binaries, but I m not fully convinced. If you don t have the Y2K Patch Kit you might want to replace some obsolete ULTRIX components which are not Y2K compatible, with GNU / OpenSource programs! These components are quite many (for example date, some fileutils, and many others...). 5 Additional modifications New things will probably be discovered as long as I am compiling packages, so keep checking ftp://ftp.skynet.ie/ultrix_freeware for a new version of this document. If you have any additional advice about building open source software on ULTRIX, drop me an e-mail! 6 Disclaimer Use my advice at your own risk! These things, mentioned in this document are meant to help you in your task, to build open source software. I give no guarantees whatsoever that anything written here is correct. Use my advice only when you have complete backup of your system! If you use any of my advice, it will be at your own risk! 7 Contribution If you have managed to compile some nice software for ULTRIX/RISC or ULTRIX/VAX that you want to share with others and me, you can contact me. I would gladly se to it, that your contributing packages will be available for download! If you've got a working cross-compiler environment available for Intel x86 or DEC Alpha that will build binaries for ULTRIX/RISC or ULTRIX/VAX I'm very interested in trying it out. Page 4 of 5

8 Contacts 9 Links Joachim Buss Author of this document joachimbuss@gmx.net David Airlie Contact at Skynet airlied@csn.ul.ie Mattias Nordlund Contact at Eagle Computing mathew@eagle.y.se Dennis Grevenstein Computer enthusiast dennis@pcde.inka.de Bert DeKnuydt Freeware guru Lord Isildur DEC enthusiast isildur@vaxpower.org My ULTRIX (RISC and VAX) Freeware Archive hosted by Skynet, The University of Limerick Computer Society, Ireland ftp://ftp.skynet.ie/ultrix_freeware http://ftp.skynet.ie/pub/ultrix_freeware mirrors at Eagle Computing, Sweden: ftp://ftp.eagle.y.se/pub/ultrix/freeware ftp://ftp.xanthosmicrosystems.com/pub/ultrix/freeware http://ftp.xanthosmicrosystems.com/pub/ultrix/freeware ULTRIX (RISC and VAX) Freeware Archive at The Retro-Computing Society of Rhode Island Inc, U.S.A. http://starfish.osfn.org/ultrix/index.html ULTRIX (RISC and VAX) Freeware Archive at Gesellschaft zur Foerderung kommunikativer Medien, Germany ftp://ftp.mayn.de/pub/dec/ultrix Page 5 of 5