Re: Variable number of arguments



Yes,you are right about different compiler behaving differently...the
thing that keeps throwing me off is the fact that I am using the same
compiler (g95) in all three platforms...so you would think...

Even if it's the same compiler, it will usually conform to (one of) the ABIs
(application binary interfaces) - aka "calling conventions" - of the platform you are using. Windows happens to have several of these ABIs, and I don't know offhand which g95 is using. The Intel compiler, for instance, allows you to choose at various granularity which ABI you might want to use.

So the fact that your C and your Fortran compiler interoperate on one platform, and the same compilers do not do so on another platform, is entirely to be expected 8-|.

Jan
.



Relevant Pages

  • Re: How to Make F77 Program Faster (g95 compiler) ??
    ... The g95 compiler has the following Option Synopsis: ... and 3 means more aggressive optimization, ... the computation of polynomials in your code. ...
    (comp.lang.fortran)
  • Re: How to Make F77 Program Faster (g95 compiler) ??
    ... The g95 compiler has the following Option Synopsis: ... and 3 means more aggressive optimization, ... count the number of times a routine is called and the execution, ...
    (comp.lang.fortran)
  • Re: Compiling LAPACK with ATLAS on cygwin using g95
    ... I normally compile it using Intel Fortran and link it against the Intel MKL, which takes care of all the LAPACK and BLAS calls. ... To make the comparison fairer I would like to employ a well-optimized set of BLAS, i.e., the ATLAS BLAS, when I compile and link with g95. ... is there a way to compile/install the ATLAS BLAS under cygwin in a way that is compatible with g95? ... are there any gotchas to look out for when compiling LAPACK under cygwin with the g95 compiler? ...
    (comp.lang.fortran)
  • Re: Updateing old fortran code
    ... The old compiler is "Microsoft fortran 77 3.2" which is quite ... I found g95 from the Free Software Foundation but I've been ... input a file from the command line. ...
    (comp.lang.fortran)
  • Updateing old fortran code
    ... I'm of the opinion that using a new compiler will likely solve this ... The old compiler is "Microsoft fortran 77 3.2" which is quite ... I found g95 from the Free Software Foundation but I've been ... no longer functions. ...
    (comp.lang.fortran)