Developing mixed-language code with fortran-dev and g++
Paul Richard Thomas
paul.richard.thomas@gmail.com
Wed Nov 25 19:33:00 GMT 2009
Damian,
You will have to develop an interface between the gfortran and the g++
class objects. Maybe, if this sort of requirement is widespread, we
should look to going the whole hog and use the g++ representation. We
are most of the way there, I think. The only wrinkle would be the
very thing that we are struggling with right now; typebound generic
procedures.
I have to confess to having designed the gfortran oop from the bottom
up, aided and abetted by some general reading. I have been put off
from copying the g++ by my insufficient familiarity with C++ and
difficulty in finding comprehensible g++ documentation. Maybe it is a
good time to remedy these deficiencies :-)
The development tree has g++ there, does it not? In which case, add
it to the --enable-langauges list.
Cheers
Paul
More information about the Fortran
mailing list