Software Archive
Read-only legacy content
17061 Discussions

Clarification in linking dforrt.dll

Deleted_U_Intel
Employee
665 Views
I have read the recent posts and am still confused. The documentation is also not clear.

For a single-threaded console application do I need to distribute this dll?

I am using the default link options for release. I can run my program on my Win95 box even if I rename this dll. That would indicate that whatever is needed is linked in. Target systems are NT/2000. I don't particularly care about exe size if I can eliminate an additional distribution.

I raise this issue because an earlier debug version would not work without the library, but when I recompiled I no longer have that issue. Can't be sure what option I changed, if any.

Thanks,

Bruce
0 Kudos
1 Reply
Steven_L_Intel1
Employee
665 Views
The default is to link statically, which means you don't need to distribute any DLLs. The option to look at is Project..Settings..Fortran..Libraries..Use Run-Time Libraries. You want Static.

Steve
0 Kudos
Reply