stretching my (g)fortran legs …

Working on a quick project for a partner. I haven’t done much fortran programming in the last few years, mostly C, Perl, and a few other things.

Its been a while, but now I am remembering why I disliked multi-language programming in the past. You have to fight with the linkers (and compilers) to get them to do the right thing. Stuff that should “just work” doesn’t.

I really, really, just want to


call c_Function(argument1, argument2, ...)

with some c method like this


void * c_Function(...)

Notice that there are no extra “helpful” underscores. And notice that the capitalization of the method is the same.

Really, thats all I want. A nice simple … no … really … simple … interface.

I must be dense, because I don’t quite understand why we can’t get this.

Oh well.

Otherwise, gfortran is quite nice. Looks like some differences between 4.2 and 4.3 … but nothing too painful.

Viewed 7357 times by 1476 viewers

Facebooktwittergoogle_plusredditpinterestlinkedinmail