On 6/29/20 1:44 PM, Pete Linden wrote: > > People, > > > > I have two installs of Mingw and GFortran. On the 1^st one I can make > a Stand Alone Executable using GFortran. On the 2^nd one, I can not > make a Stand Alone Executable for GFortran. > > > > Did I make an install error? > Hard to say... Please share gfortran & shell command line(s) for Stand-alone and and *NON* Stand-alone examples. A Stand-Alone example could be something like this: jim at OptiPlex-780 ~/src $gfortran hello.f *** without -o option, a.out is default output jim at OptiPlex-780 ~/src $./a.out Hello World On Non stand-alone, I'm inferring you mean something with subroutines... So how are they linked? Example: program abc123.f calls jkl123 and xyz123. They are compiled separately: gfortran -c -o ~/obj/acb123.o abc123.f (then jkl123.f and xyz123.f) Then build final executable: gfortran -o ./abc123 ~/obj/{abc123,jkl123,xyz123}.o Or are you working libraries? > > > > Thanks, > > > > *Peter N. Linden, P.E.* > > *Linden Professional Services, Inc.* > > *9103 Brahms Lane* > > *Houston, Texas 77040* > > *Direct – 713-937-7875* > > *Cell – 713-253-3216* > > > > > _______________________________________________ > MinGW-Users mailing list > MinGW****@lists***** > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.osdn.me/mailman/listinfo/mingw-users > Also: mailto:mingw****@lists*****?subject=unsubscribe -- Regards, Jim. Public key available from keys.gnupg.net Key fingerprint: C3E0 D84F 927B 668C 3840 5E2A C39B E6EF 8115 0744 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200629/25424d47/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: OpenPGP digital signature URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200629/25424d47/attachment.sig>