Page 1 of 1

how to make a toolchain to support os run fortran program

Posted: Sun Sep 16, 2012 8:57 pm
by hfcao
recently,I try to make an specific toolchain for my 64 bit os,then I use my toolchain to build and install it on my os , and they can be built and installed. Also C program can be run well on my os,
however fortran programs cannot be run at all.Firtstly ,I think I may link fortran programs to the wrong address,but I use the readelf to see the ELF of fortran programs ,and see the Load address is right.SO I am puzzled now.Now when I run the fortran programs I can't get any results and just hung there.
Can anyone gives me some tips why fortran programs cannot be run in my os?may it be the error in my toolchain?
Thanks in advance.
(P.S. :I do some changes to binutils and gcc to make the toolchain. And I also use the readelf the see )
Best~

Re: how to make a toolchain to support os run fortran progr

Posted: Mon Sep 17, 2012 5:32 pm
by hfcao
Since there is no reply at all,can anyone recommend me a link address to make a toolchain that support fortran for 64bit os ?
Thankyou so much~
Best~

Re: how to make a toolchain to support os run fortran progr

Posted: Tue Sep 18, 2012 2:33 am
by Brendan
Hi,
hfcao wrote:Since there is no reply at all,can anyone recommend me a link address to make a toolchain that support fortran for 64bit os ?
I doubt you'll find a web site or instructions on how to port a FORTRAN compiler. I'd assume the easiest way might be to port GCC and the rest of GNU's tools, and then use the result to compile the GNU Fortran Compiler.

I also doubt you'll be able to find a suitable punch card reader if you actually do get a compiler working. :roll:


Cheers,

Brendan

Re: how to make a toolchain to support os run fortran progr

Posted: Tue Sep 18, 2012 4:38 am
by hfcao
I also doubt you'll be able to find a suitable punch card reader if you actually do get a compiler working
I am just a new learner~ And my technical is poor now ,but I would try my best to go ahead~
Thanks~