Porting Fortran
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Mar 6 16:19:00 GMT 2013
On Wed, Mar 06, 2013 at 12:35:54PM +0100, Tobias Burnus wrote:
> Sudha Sarita wrote:
> > I am trying to port gfortran for a 32 bit target architecture. The gnu
> > toolchain including c and c++ compilers are already ported to the target.
> > The gcc version used is 4.1.2. What are the files I need to modify for the
> > same purpose? Is there any document specific to gfortran porting ? Any help
> > will be really appreciated.
>
> I would start by simply trying to compile gfortran by adding "fortran"
> to the --enable-languages= list. The chances are extremely high that it
> simply works. If it doesn't, one can check the build failures. After it
> build, you should run the regression test suite to test whether it
> really works.
>
IIRC, gfortran 4.1.2 has a dependency on mpfr while gcc does not.
Unless Sudha has configured gcc to look for mpfr, I doubt gfortran
will build.
--
Steve
More information about the Fortran
mailing list