Jump to content
Sign in to follow this  
Lurker

Fortran missing dll files

Recommended Posts

oke, one of my collague build fortran based modelling software, after that he try to compile it to check function work properly or not.

this apps run perfectly on machines where the apps developed.

 

but when the exe file moved to another pc dll missing occured

 

ok I know we need to also moved all linked librrary related to the exe files, but I dont have any resource explain that

 

try to install the compiler and all library needed for developing, in the new computer but still dll missing error

 

how to compile all resource including linked library into one big exe files, rather one small exe with many dll?

 

note :

 

using tdmgcc for compiler :

http://tdm-gcc.tdragon.net/download

and code:block for IDE

 

any idea?

Share this post


Link to post
Share on other sites

update :

 

static linking seems promising, but for windows seems need to install Cygwin :wacko:

 

update :

 

oh no, for tdm-gcc :

Static runtime linkage (libgcc & friends)

    TDM-GCC doesn't link your programs with the libgcc or libstdc++ runtime DLLs by default.
    Other toolchains default to DLL runtime linkage in order to allow you to throw exceptions among DLLs and EXEs.
    TDM-GCC lets you throw exceptions among DLLs and EXEs even with the static runtime.
    Your programs will not rely on any additional DLLs when compiling with default options.
    TDM-GCC still includes DLL versions of the libgcc and libstdc++ runtimes, which you can enable for your program with "-shared-libgcc" and "-shared-libstdc++" if desired.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.