Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: robc on May 06, 2009, 04:39:23 PM

Title: adding fortran to compiletc
Post by: robc on May 06, 2009, 04:39:23 PM
I ran into a problem when trying to compile ATLAS (http://math-atlas.sourceforge.net/ (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.
Title: Re: adding fortran to compiletc
Post by: curaga on May 06, 2009, 04: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?
Title: Re: adding fortran to compiletc
Post by: robc on May 06, 2009, 05: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
Title: Re: adding fortran to compiletc
Post by: ^thehatsrule^ on May 06, 2009, 08:35:51 PM
Looks like it was incomplete - archive redownloaded.  Thanks for the heads up.