This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: debian gcc produces hello*
- From: "Bill McEnaney" <bill at rkirkpat dot net>
- To: rmodesi <rmodesi at msn dot com>, gcc-help at gcc dot gnu dot org
- Date: Thu, 14 Jun 2007 09:45:01 -0600 (MDT)
- Subject: Re: debian gcc produces hello*
Ron,
You're welcome. After I read your note, I used bash to run a "hello"
program that lived in my home directory. Since that directory was, and
is still, in my path, I didn't need to type "./hello" when I ran the
program.
By the way, I usually use tcsh instead of bash, so I invoked bash when
tcsh when I got tcsh's command prompt.
Bill
>
> Bill,
> Thanks for your interest.
> The error I receive from the bash shell is that it does not recognize the
> command or something to that effect. I do not have the system in front
of me
> at this time so can't be more specific.
>
> Ron
>
>
> Bill McEnaney wrote:
> >
> > What, if any, error message do you get when you try to run the "hello"
> > program?
> >
> > Bill
> >
> >>
> >> I am a newbie to both Linux and C programming in Linux.
> >> My gcc compiler produces the file hello* after executing the command:
> >> gcc -Wall hello.c -o hello
> >> Bash will not execute this program.
> >>
> >> Thanks again in advance.
> >> --
> >> View this message in context:
> >
http://www.nabble.com/debian-gcc-produces-hello*-tf3919460.html#a11113530
> >> Sent from the gcc - Help mailing list archive at Nabble.com.
> >>
> >>
> >
> > ________________________________________________________________
> > Please visit a saintly hero:
> > http://www.jakemoore.org
> >
> > And a boy with a wonderful wish:
> > http://shaneswish.com/
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/debian-gcc-produces-hello*-tf3919460.html#a11113661
> Sent from the gcc - Help mailing list archive at Nabble.com.
>
>
________________________________________________________________
Please visit a saintly hero:
http://www.jakemoore.org
And a boy with a wonderful wish:
http://shaneswish.com/