Malking a staic lib in XCODE 3.2.6, IFC v. 11, MACOSX 10.6.8 errors

Malking a staic lib in XCODE 3.2.6, IFC v. 11, MACOSX 10.6.8 errors

Hello folks!

I'm trying for static lib making in MACOSX as mylib XCODE project(command line c tool).
I have an separate folder for fortran modules(named as /Users/me/Documents/mylib/modules)
and fortran sorce files in the 'mylib' folder.

I was made an additioonal options for mylib project: -o mylib.a -staticlib

and additional include directories /Users/me/Documents/myilb/modules.

However, when compiling the following type of the subrotine(s)

SUBROUTINE MY_SUBROUTINE()
USE MY_MODULE
............

END SUBROUTINE

the following error is occur,

"can't find my_module.f90"

When this program will be written an another manner ,

INCLUDE "MY_MODULE.F90"
SUBROUTINE MY_SUBROUTINE()
USE MY_MODULE
.............

END SUBROUTINE

NO errors found!

What's a problem friends?

THANK YOU ALL.

P.S. Command line

ifort -o mylib.a -staticlib -I/Users/me/Documents/mylib/modules

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.