/* * Copyright (c) 1991 by Sozobon, Limited. Author: Johann Ruegg * * Permission is granted to anyone to use this software for any purpose * on any computer system, and to redistribute it freely, with the * following restrictions: * 1) No charge may be made other than reasonable charges for reproduction. * 2) Modified versions must be clearly marked as such. * 3) The authors are not responsible for any harmful consequences * of using this software, even if they result from defects in it. */ static char Version[] = "ld version 2.0 Copyright (c) 1991 Sozobon Ltd"; #include int mflag, vflag, symout; int only8; char *tmpdir; char *oname; #ifdef MINIX long mstack, atol(); #endif #ifdef TOS #define FSEP '\\' #else #define FSEP '/' #endif int tb, db, trelb, drelb, orelb; main(argc, argv) char **argv; { int i; char *getenv(); setbuf(stdout, NULL); if ((tmpdir = getenv("TMP")) == NULL) #ifdef TOS tmpdir = "\\"; #else tmpdir = "/tmp/"; #endif for (i=1; i= 'A' && c <= 'Z') { c -= 'A'; c += 'a'; } *s = c; s++; } } #endif