Home > Archive > Fortran > May 2004 > Building library files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Building library files
|
|
| Håkan Lane 2004-05-17, 12:36 pm |
| We are using Compaq Visual Fortran 6. We want to build a .lib library
file from a set of .f source files. How can we do that?
Regards,
Håkan Lane
(Remove NO,SPAM and PLEASE for private email)
| |
| Kevin G. Rhoads 2004-05-17, 3:32 pm |
| >We are using Compaq Visual Fortran 6. We want to build a .lib library
>file from a set of .f source files. How can we do that?
New
Project
Fortran Static Library
then add the .f files to the project as source files.
| |
| Håkan Lane 2004-05-17, 6:31 pm |
| Kevin G. Rhoads wrote:
>
>
> New
> Project
> Fortran Static Library
>
> then add the .f files to the project as source files.
Thanks.
Regards,
Håkan Lane
(Remove NO,SPAM and PLEASE for private email)
| |
| Jugoslav Dujic 2004-05-18, 4:31 am |
| Håkan Lane wrote:
| Kevin G. Rhoads wrote:
||
||| We are using Compaq Visual Fortran 6. We want to build a .lib library
||| file from a set of .f source files. How can we do that?
||
|| New
|| Project
|| Fortran Static Library
||
|| then add the .f files to the project as source files.
If I may suggest as well...
Go to Project/Settings/Fortran/Libraries category and check
"Disable default library search rules". This will untie the
..lib file from specific version of run-time library, and the
RTL will be specified when you link the exe. Otherwise, if
there is a mismatch of .lib's and .exe's run-time library,
you can get various link warnings/errors/run-time misbehaviours.
--
Jugoslav
___________
www.geocities.com/jdujic
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
|
|
|
|
|