Answer the question
In order to leave comments, you need to log in
How to embed dll into exe?
Can you please tell me how to embed the necessary libraries into the compiled exe?
I compile via gfortran like this: gfortran -o test.exe test.f -std=legacy
If the resulting exe is run on a "clean" machine, then the following are required at startup: libgcc_s_dw2-1.dll, libgfortran-5.dll, libquadmath-0.dll.
libfortran-5.dll seems to have been sewn through the "-static-libgfortran" key, but the rest I can't... Please help me.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question