Bug 74187 - support gfortran in ports/lang/gcc40
Summary: support gfortran in ports/lang/gcc40
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Maho Nakata
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 05:20 UTC by Maho Nakata
Modified: 2004-12-16 09:34 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.00 KB, patch)
2004-11-21 05:20 UTC, Maho Nakata
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maho Nakata freebsd_committer freebsd_triage 2004-11-21 05:20:27 UTC
        Add support for the GNU Fortran 90/95 Compiler (gfortran).
	Currently, lang/gcc40 doesn't make gfortran, the gnu fortran
        90/95 compiler. This will be a highlight of gcc 4.0 release
        because many people who are interested in high performance computing
        or scientific computing are longing for it.
        Unfortunately, there's no free Fortran 90/95 compiler at the moment,
        so we are using lang/ifc as an alternative, employing many tricks,
        and currently it is only for i386.
        We also have a lang/gfortran, which is obsolated long long ago
        because it has already been merged into gcc-4 development (I'll
        remove it soon later, I'm a maintainer of this port).

Fix: diff file is attached below:
How-To-Repeat: 	N/A
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-11-21 23:53:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald


Over to maintainer.
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2004-11-25 22:14:27 UTC
State Changed
From-To: open->feedback

This is a good idea.  However, I would strongly prefer not to add a 
dependency on libgmp for every single user build the gcc40 port (since 
many are not really interested in Fortran as far as I know). 

If you could change your patch to only build the Fortran frontend and 
add the libgmp requirement when the user explicitly sets a new option 
WITH_FORTRAN, I would appreciate that.
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2004-12-13 11:13:13 UTC
State Changed
From-To: feedback->open

Maho-san and me have been discussing various approaches, and decided to add 
a WITH_FORTRAN knob to the gcc40 port and make the gfortran part a slave port 
using this.  He will shortly commit a patch to that end, thanks! 


Comment 4 Gerald Pfeifer freebsd_committer freebsd_triage 2004-12-13 11:13:13 UTC
Responsible Changed
From-To: gerald->maho

Maho-san and me have been discussing various approaches, and decided to add 
a WITH_FORTRAN knob to the gcc40 port and make the gfortran part a slave port 
using this.  He will shortly commit a patch to that end, thanks!
Comment 5 Maho Nakata freebsd_committer freebsd_triage 2004-12-16 09:34:19 UTC
State Changed
From-To: open->closed

Committed. Thank you very much for all!