You are not logged in.

#1 2012-04-16 16:57:26

blame
Member
Registered: 2012-04-16
Posts: 1

How to use gfortran of gcc43

Hi,

I want to compile a program with gcc version 4.3, so I installed gcc43 from the AUR.
The program also needs g++ and gfortran of the exact same version.
I used CC='gcc-4.3' and CXX='g++-4.3' in the make command, but how do I set
gfortran to the right version? There is no such thing as gfortran-4.3 on my system, or
at least I can't find it.

Or is gfortran not included in the AUR version of gcc-4.3?

Any help appreciated.

Offline

#2 2012-04-17 10:59:03

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: How to use gfortran of gcc43

You should modify the PKGBUILD: line 48 has only C and C++ enabled.  Try changing it to:

--enable-languages=c,c++,fortran \

Offline

Board footer

Powered by FluxBB