Re: How to move a program from sco openserver 5.04 to newer platform



How do I get g77 for ubuntu?
apt-get g77 says g77 is not available but is referred to by another package. Any idea what that package is?

"Nico Kadel-Garcia" <nkadel@xxxxxxxxx> wrote in message news:08b89cc6-1812-44e9-8bbf-962eb0c69764@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Aug 25, 5:18 pm, "Jay" <jt123...@xxxxxxxxxx> wrote:
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.

The formats of the binaries are likely to be profoundly different,
with profoundly distinct library requirements as well. I would not
personally rely on compiling anything on OpenServer 5.0.4 and being
able to run it anywhere else, not even on 5.0.5.

Do you have source code? If so, you should be able to recompile with
'g77' under Ubuntu, which is the gcc wrapper for the old 'f2c'
toolkit, designed to transform Fortran into C, and which actually
generates reasonably efficient and standards compliant code for my
acquaintances with ancient Fortran components. There have been enough
changes in Fortran specifications that you may need to update your
source code, but it may save a lot of work overall.

.



Relevant Pages

  • Re: How to move a program from sco openserver 5.04 to newer platform
    ... apt-get g77 says g77 is not available but is referred to by another package. ... Ubuntu 'dapper' package list shows 'gfortran', ...
    (comp.unix.sco.misc)
  • Re: Suse 10.0 fortran & multimedia
    ... This can also usually be called with "g77", if you have the appropriate gcc ... The g77 stuff is based on an older package called f2c ... that converts Fortran to C code: ...
    (comp.os.linux.setup)
  • Re: Press any key to continue?
    ... find a Fortran equivalent for the following line: ... You said you are using g77, so you can mix fortran and c. ... void initscr_() ... void getch_() ...
    (comp.lang.fortran)
  • Re: Fortran Debugger help for a newbie using Windows
    ... This compiler allows me to link to the GDB ... line to fortran ), the debugger barfs. ... g77 has been off support long enough that it will take a lot of luck on recent Windows. ...
    (comp.lang.fortran)
  • Re: [opensuse] searching for and installing a package
    ... how can I search for g77 compiler and isntall it? ... > Exist any way to make a search for a package by a file that I know ... There is a utility named "pin" that does just that. ... Im Using Enterprise SuSE 10.2 but I couldn't find the pin command ...
    (SuSE)