help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run Hello.c


From: Dyreatnews
Subject: Re: Run Hello.c
Date: Thu, 30 Oct 2008 11:19:45 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (usg-unix-v)

Linh Duong <linh_duong26@sbcglobal.net> writes:

> Hello There,
>
> I am new to C. I had look at the manual, configuration, and etc.
>
> Try to run the file on MAC OS.
>
> Downloaded gcc-testsuite-4.3.2
>
> gcc -o hello.c
> gcc -v hello.c
>
> It returns command not found. Can you please tell me what's wrong?

Hard to tell based on that info, but I'm going to guess that you don't
have gcc in your path (or whatever the equivalent on MAC OS is). (How you
add something to your path depends on the command shell you're using,
and I don't know what default shell on MAC OS is).

You could try to specify the full path to where gcc is installed.

-- 

Dyre Tjeldvoll


reply via email to

[Prev in Thread] Current Thread [Next in Thread]