This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Gfortran for Mac creates output that does not run
- From: Leonardo Foderaro <startrack79 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 6 Mar 2009 21:35:30 +0100
- Subject: Re: Gfortran for Mac creates output that does not run
- References: <C5D74450.13B%hendrik.schoenfelder@web.de>
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
>
>