[Mingw-users] Stand Alone Executable for GFortran

アーカイブの一覧に戻る
Keith Marshall keith****@users*****
Wed Jul 1 19:24:20 JST 2020


On 01/07/2020 09:35, I wrote:
>   $ cat foo.f
>         program hello
>           print *, "Hello World!"
>           end
> 
>   $ mingw32-gfortran foo.f
>   $ mingw32-ldd a.exe
>   a.exe
>    +- KERNEL32.dll
>    +- msvcrt.dll
>    +- msvcrt.dll
>    +- libgcc_s_dw2-1.dll
>    |   +- KERNEL32.dll
>    |   +- msvcrt.dll
>    +- libgfortran-5.dll

At the time when I generated that dependency graph, I didn't have
libgfortran-5.dll, (or any of its dependencies), in my DLL search path.
 For completness, with these dependencies in place, it becomes:

  $ mingw32-ldd a.exe
  a.exe
   +- KERNEL32.dll
   +- msvcrt.dll
   +- msvcrt.dll
   +- libgcc_s_dw2-1.dll
   |   +- KERNEL32.dll
   |   +- msvcrt.dll
   +- libgfortran-5.dll
       +- libquadmath-0.dll
       |   +- libgcc_s_dw2-1.dll
       |   |   +- KERNEL32.dll
       |   |   +- msvcrt.dll
       |   +- KERNEL32.dll
       |   +- msvcrt.dll
       +- libgcc_s_dw2-1.dll
       |   +- KERNEL32.dll
       |   +- msvcrt.dll
       +- ADVAPI32.DLL
       +- KERNEL32.dll
       +- msvcrt.dll
       +- msvcrt.dll

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200701/1433c463/attachment.sig>


More information about the MinGW-Users mailing list
アーカイブの一覧に戻る