Programming environment

My primary environment is Linux. However, I switched from MS-DOS/Windows in November 1998, and so a large part of my programs were first developed for that platform. This page gives information of the MS-DOS tools I used. Most of these tools were actually ported to MS-DOS from GNU, and so they are more at home in Linux. This means that I may produce DOS ports of my future Linux programs as well.

Principal tools

Operating system MS-DOS/ MS-Windows All programs are compiled to run in the MS-DOS box of Microsoft Windows.
Programming platform environment djgpp is a MS-DOS port of GNU C-compiler gcc. However, this is rather a general programming environment, since it is not only gcc, but many other GNU tools which make up an excellent environment. I use, e.g., bash shell, many Unix-like utilities, GNU make, Fortran compiler g77 etc. My principal programming language is C.
Linking Fortran subroutines to C f2c Fortran is used in reading in Fortran-formatted data files and in some mathematical subroutines. F2c allows mixed development with C.
Numerical routines library Numerical recipes So far the only C library for Numerical Analysis I have found, but I'm working to replace this with some alternatives. With updates may be fairly good (I'm running v2.08 now: I had to patch to this version with my Unix-utilities, since automatic patching did not work).
Random number generation ranlib.c Again from netlib. Basic generator in gcc is OK, but with this it is possible to generate random numbers from several probability (density) functions.
Matrix algebra Meschach More reliable in matrix algebra than Numerical Recipes. For instance, SVD does not work correctly in NR, and they seem to have no intention to correct or even confess their bugs.
Presentation graphics DISLIN Basic graphics routines are provided by libgrx.a in djgpp, but presentation graphics and various printers and graphics formats can be used with DISLIN.


Jari Oksanen