F03 C interop..
Richard Henderson
rth@twiddle.net
Sun Oct 2 05:02:00 GMT 2005
On Thu, Sep 29, 2005 at 02:19:13PM -0600, Christopher D. Rickett wrote:
> I think it could be done this way, and that this is possibly the most
> straight-forward way to do it.
Maybe yes, maybe no. Recall that some targets change ABIs when
given various target command-line options; -m32/-m64 being the
more extreme, but not an exclusive list.
It may really be easiest to just have the Fortran front end query
the same macros that the C front end does at startup, rather than
try to work around this with a myriad of different module files.
r~
More information about the Fortran
mailing list