VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: gcc with fortran  (Read 4252 times)

jason.vector

  • Member
  • *
  • Posts: 8
gcc with fortran
« on: June 06, 2007, 02:44:43 pm »

hi ím using VL 5.0 and i need f2c or a gcc compiler with fortran . I don´t know if that are the same thing but the fact is that i´m using gcc 3.4.6 but it has no fortran.
thanks a lot.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2305
Re: gcc with fortran
« Reply #1 on: June 06, 2007, 03:14:17 pm »

I cant remember why, but I needed a fortran compiler for something and one of this list did it:

http://www.thefreecountry.com/compilers/fortran.shtml

The f2c files:

http://www.netlib.org/f2c/
« Last Edit: June 06, 2007, 05:01:17 pm by rbistolfi »
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

saulgoode

  • Vectorite
  • ***
  • Posts: 340
Re: gcc with fortran
« Reply #2 on: June 06, 2007, 04:26:25 pm »

I am not sure about Vector, but the GCC compiler included with Slackware supports FORTRAN if you install the gcc-gfortran package
Logged
A complex system that works is invariably found to have evolved from a simple system that works.

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: gcc with fortran
« Reply #3 on: June 06, 2007, 11:13:57 pm »

For me, slackware's gcc-g77 package worked fine when I needed a fortran compiler some time ago: http://packages.slackware.it/package.php?q=11.0/gcc-g77-3.4.6-i486-1
Logged
Most music on my soundcloud page was arranged in programs running on VL.

MikeCindi

  • Tester
  • Vectorian
  • ****
  • Posts: 1074
Re: gcc with fortran
« Reply #4 on: June 07, 2007, 04:52:40 am »

For me, slackware's gcc-g77 package worked fine when I needed a fortran compiler some time ago: http://packages.slackware.it/package.php?q=11.0/gcc-g77-3.4.6-i486-1
Isn't that package in the VL repositories?
Logged
The plans of the diligent lead to profit...Pro. 21:5
 VL64 7.1                                     RLU 486143

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: gcc with fortran
« Reply #5 on: June 07, 2007, 09:08:06 am »

For me, slackware's gcc-g77 package worked fine when I needed a fortran compiler some time ago: http://packages.slackware.it/package.php?q=11.0/gcc-g77-3.4.6-i486-1
Isn't that package in the VL repositories?
Oh you're right, so it is. In that case this should get you gcc-g77:
Code: [Select]
slapt-get --install gcc-g77
Logged
Most music on my soundcloud page was arranged in programs running on VL.