Gfortran for Mac creates output that does not run

Leonardo Foderaro startrack79@gmail.com
Fri Mar 6 20:35:00 GMT 2009


a very easy hint: did you type "a.out"   or   "./a.out"   ??

on unix it's different.

on IMAC... don't know :-)

good luck!
leo


On Fri, Mar 6, 2009 at 9:21 PM, Hendrik Schoenfelder
<hendrik.schoenfelder@web.de> wrote:
>
> I installed gfortran on my brandnew IMAC and learned how to invoke it using
> the command line. The program does create an output file named a.out from
> the most simple program after giving an aparently harmless warning (³ld
> warning: duplicate dylib /usr/local/lib/libgcc_s.1.dylib²). But when I try
> to run it, i get the message ³a.out: command not found².  Strange. I feel
> like an idiot. Can anyone help?
> Hendrik
>
>



More information about the Gcc-help mailing list