WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: adding fortran to compiletc  (Read 2940 times)

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
adding fortran to compiletc
« on: May 06, 2009, 01:39:23 PM »
I ran into a problem when trying to compile ATLAS (http://math-atlas.sourceforge.net/). It requires the g77 compiler that goes with gcc. Should the g77 and gfortran (g95) compilers be added to compiletc or put in their own extension?
I would think they should go together since they are suppose to be built along with the rest of gcc.

I downloaded the source for gcc-4.2.2 from the TC sources repository but was unable to extract it.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: adding fortran to compiletc
« Reply #1 on: May 06, 2009, 01:58:46 PM »
Most people only build the C and C++ compilers out of gcc, so the others like fortran and java would probably be better in their own extensions.

Unable to extract? Could you give more info?
The only barriers that can stop you are the ones you create yourself.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: adding fortran to compiletc
« Reply #2 on: May 06, 2009, 02:14:38 PM »
I tried these commands to unzip:
Code: [Select]
tc@box:$ tar jxf gcc-4.2.2.tar.bz2
tar: no gzip/bzip2 magic
tc@box:$ bunzip2 gcc-4.2.2.tar.bz2
bunzip2: gcc-4.2.2.tar.bz2 is not a bzip2 file.

The size of gcc-4.2.2.tar.bz2:
Code: [Select]
tc@box:$ du gcc-4.2.2.tar.bz2
16.2M gcc-4.2.2.tar.bz2
This seems a little small for gcc
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: adding fortran to compiletc
« Reply #3 on: May 06, 2009, 05:35:51 PM »
Looks like it was incomplete - archive redownloaded.  Thanks for the heads up.