Discussion:
porting sco 5.04 to something newer
(too old to reply)
Jay
2009-08-25 21:20:30 UTC
Permalink
I have a a program custom written in fortran that is running on my sco
openserver 5.04 box. When I ftp the program over to an ubuntu box and run
the program it returns a syntax error. Apparently UNIX and Linux aren't
similar enough? Any ideas as to how I could get this app running on
something newer? Is another distro of linux more compatible . Any
suggestions would be appreciated greatly.
Bill Campbell
2009-08-25 22:32:33 UTC
Permalink
Post by Jay
I have a a program custom written in fortran that is running on my sco
openserver 5.04 box. When I ftp the program over to an ubuntu box and run
the program it returns a syntax error. Apparently UNIX and Linux aren't
similar enough? Any ideas as to how I could get this app running on
something newer? Is another distro of linux more compatible . Any
suggestions would be appreciated greatly.
What is the syntax error?

It's been many years since I worked much with FORTRAN, but I
wouldn't be surprised getting syntax errors when switching
compilers from different vendors. Most commercial compilers have
proprietary extensions to syntax, just as C compilers may vary in
things like #pragma interpretation. As a young, inexperienced,
programmer, I used some non-standard FORTRAN subroutine returns
which were neat, but came to bite me in the butt when I had to
move the program to a different system.

I spent quite a bit of time on a project where I had to get a
FORTRAN program written on a system that allowed 7 character
variable names at at time when the FORTRAN standard restricted
them to 6 characters. Of course the original programmers used
all 7 characters allowed, often differing only in the 7th
character. This was in the days of 80 column punch cards and
printouts so editing wasn't as easy as it is today.

Some of the first text processing programs I wrote were programs
to convert from one dialect of FORTRAN to another. These
programs were written in ALGOL, BPL (Burrough Programming
Language), or COBOL as none of the tools we take for granted on
*nix systems were available then.

At least I was working on Burroughs main frames at the time that
put error message in-line with the code, and not dealing with
IBM's compilers which would print all errors at the end of the
listing referring to line numbers -- which often had only a hazy
relationship to actual line numbers in the code.

Bill
--
INTERNET: ***@celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792

there is nothing more difficult to take in hand, more perilous to
conduct, or more uncertain in its success, than to take the lead in
the introduction of a new order of things. Because the innovator has
for enemies all those who have done well under the old conditions,
and lukewarm defenders in those who may do well under the new.
-- Machiavelli
Loading...