George N. White III wrote: > This transition should not be a tied to gfortran and the gcc toolchain. When > the code has to change, it should be made to conform to current standards, > or in a few years we will doing it all over yet again. One approach would be > to adopt the POSX Fortran bindings, the other is to use the current Fortran > standard. The former has pxf_getarg(), while the latter provides: > > call GET_COMMAND_ARGUMENT(iarg, buf, ilen, ierror) > > There was an open source implementation of the POSIX fortran bindings > by Ron Shepard at ANL, and at least one independent implementation has > been mentioned on c.l.f. >
What do you suggest for *C/C++* code that, for whatever reason, needs to call GETARG() or whatever the modern equivalent is from a FORTRAN library? best regards, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/ Princeton University GPG: public key ID 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]