This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gfortran for Mac creates output that does not run


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
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]