Author Topic: Fortran Standalone Windows exe missing dlls  (Read 461 times)

Offline cristipurdel

  • Single posting newcomer
  • *
  • Posts: 1
Fortran Standalone Windows exe missing dlls
« on: September 25, 2020, 07:13:30 pm »
I am trying to generate a fortran standalone exe, but the following dlls need to be in the same folder (currently this is the only way to run the file):
libgcc_s_seh-1.dll
libquadmath-0.dll
libwinpthread-1.dll

My question is, what options should I modify in cb build options, in order to have a "portable" exe.

Closest thing I found was
http://forums.codeblocks.org/index.php?action=post;quote=100438;topic=14127.0;last_msg=118640
My understanding is that I need to add "MONOLITHIC=1 RUNTIME_LIBS=static SHARED=0" somewhere

I am using cb 20.03 portable windows

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12911
    • Travis build status
Re: Fortran Standalone Windows exe missing dlls
« Reply #1 on: September 25, 2020, 09:14:22 pm »
C::B is not a compiler. You'll have to ask the vendor of the compiler you're using. You might inspect its docs to see if there is an option you could use.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]