WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gfortran  (Read 3097 times)

Offline tana60

  • Newbie
  • *
  • Posts: 10
gfortran
« on: August 10, 2016, 08:30:15 PM »
Hello everyone,

I need the gfortran compiler and I am still quite new to TinyCore to manage building an extension...  :'(

gfortran.tcz exists for previous releases, but it is a bit outdated, and I am afraid to mess my install with it (not even sure it works, installing .tcz from previous TC?...)

Could you please update or rebuild the extension?
Thank you a lot  :)

--------------------------------------------------------
Gfortran's source code  is included in gcc ftp://ftp.gnu.org/gnu/gcc/gcc-6.1.0/, and to build it instructions are. from the GNU site,
"in a nutshell you do: create a new directory, e.g. ../gcc-build, go there and run ../gcc/configure --prefix=$HOME/gcc-trunk --enable-languages=c,fortran. You may want to add more languages, --enable-checking=release (esp. useful for compile-time tests as it disables some consistency checks in the compile), --disable-bootstrap (builds faster*, but disables some consistency checks). After make and make install you have built your own GCC.
Make sure that you have the MPFR installed, which is needed to compile the GCC."
*VERY faster!  ;)
---------------------------------------------------------

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: gfortran
« Reply #1 on: August 12, 2016, 06:03:52 AM »
You could try sending a pm to @akane to request an update to the gfortran extension?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: gfortran
« Reply #2 on: August 13, 2016, 09:36:01 AM »
gfortran and gfortran-lib posted (but not tested)

Offline tana60

  • Newbie
  • *
  • Posts: 10
Re: gfortran
« Reply #3 on: August 17, 2016, 01:17:56 PM »
THANK YOU!  ;D
I just tried to compile/run and it works!

Offline tana60

  • Newbie
  • *
  • Posts: 10
Re: gfortran
« Reply #4 on: March 15, 2017, 04:16:10 PM »
Could you please consider adding also gfortran for pure 64 tcz ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14843
Re: gfortran
« Reply #5 on: March 16, 2017, 12:47:59 AM »
You could try yourself based on the instructions here:

http://www.tinycorelinux.net/7.x/x86/tcz/src/gfortran/compile_gfortran

Offline tana60

  • Newbie
  • *
  • Posts: 10
Re: gfortran
« Reply #6 on: March 17, 2017, 11:13:50 AM »
Thank you!  :)

I never managed to make an extension  :o so meanwhile I think to use the 32-bit TC, but maybe will give a try to make the 64b extension in the next weeks.