Bug 35276 - Doc should described how to compile mixed-language programs
Doc should described how to compile mixed-language programs
Status: NEW
Product: gcc
Classification: Unclassified
Component: fortran
4.4.0
: P3 enhancement
: ---
Assigned To: Not yet assigned to anyone
: documentation
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-21 10:04 UTC by Francois-Xavier Coudert
Modified: 2008-02-21 10:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2008-02-21 10:07:41


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois-Xavier Coudert 2008-02-21 10:04:14 UTC
I think "Part I: Invoking GNU Fortran" of the gfortran documentation should have a section on "Compiling (and linking) mixed-language programs". Whether this should be a section or a subsection I don't know, but it's really a commonly asked question and we ought to have explanations and examples of that in the doc.
Comment 1 Francois-Xavier Coudert 2008-02-21 10:07:41 UTC
I've posted explanations and examples on comp.lang.fortran that might be used as a starting point: http://groups.google.com/group/comp.lang.fortran/msg/a62f1aa0c1592838

Linking to C++ and other languages might also be interesting. Also, when documentation about our calling conventions is written, we can link these two parts.

PS: Maybe we should also add information on how to create shared libraries of gfortran-compiled Fortran code? Or is that too generic to be in our doc?