Compilation order (USE assocs)



Hi,

Any idea how to force the compilation order of the F90 files ? My
problem is this ...

All my F90 routines are (one-to-one) embedded in module procedures, in
order to create explicit interfaces for checking the subroutine calls
(very useful F90 feature indeed). For this purpose for each subroutine
call the corresponding USE assocation is added. What you expect from
your IDE that the F90 files are compiled in the right order, what
means that before compiling the module itself first all the modules in
the USE assocations are checked and compiled if needed. Sounds
reasonable.

But for my IDE, Vis. Studio 2005 this is unf not the case. In VS2005-
speak when I do a Rebuild (Clean + Build) all F90 files in that
'project' are compiled in one single sweep, but it looks as if the USE
dependendies in the F90 files are completely ignored. On compiling a
F90 file, now I get compile-time error messages that the files in the
USE assocations can't be found. When I manually compile the missing
modules first, then it does work, so nothing wrong with the software
or settings (module paths) I guess. The full name of my Fortran
compiler is Intel(R) Fortran Compiler 10.1.011 [IA-32].

Any idea to force the correct compilation order here ?

Thanks !
Antoon




in my IDE (Vis. Studio 2005) for


.



Relevant Pages

  • Re: Compilation order (USE assocs)
    ... Any idea how to force the compilation order of the F90 files? ... The full name of my Fortran ...
    (comp.lang.fortran)
  • Re: VarPtr and passing variables by ref
    ... or the background compilation that is an early ... simply open those files in the IDE. ... This becomes stored 'opcode' within the IDE, The 'text' portion of the code ... that you see in the editor is a 'View' to the underlying pcode. ...
    (microsoft.public.vb.general.discussion)
  • Re: Subclassing compilation crash
    ... > subclassing off, the IDE no longer crashes. ... > I do have - and always have had - such code to reset the window proc. ... > However, during compilation, the first two message boxes pop up just ...
    (microsoft.public.vb.general.discussion)
  • Re: Easier Way to Conditional Compile?
    ... currently running in the IDE or not. ... >> and off with a conditional compilation argument during IDE development. ... >> the app, then go back in and change the value back. ... > then you can test for the underscore character anytime at run time to ...
    (microsoft.public.vb.general.discussion)
  • Remote Compilation
    ... We would like to know how you use remote compilation. ... IDE copies files through FTP to server. ...
    (comp.lang.cobol)