On Thu, 05 Jul 2018 15:43:27 +0100, Peter Percival wrote:
> Jan Panteltje wrote:
>> On a sunny day (Thu, 5 Jul 2018 14:22:06 +0100) it happened Peter
>> Percival wrote in
>> :
>>
>>> I wrote a "Hello world" program in C.
>>>
>>> gcc hello.c
>>>
>>> creates a.out without warnings or error messages. ls shows that a.out
>>> exists.
>>>
>>> a.out
>>>
>>> gets the response
>>>
>>> -bash: a.out: command not found
>>
>> Try ./aout
>>
>> For compile, better use gcc -Wall -o hello hello.c
>>
>> ./hello
>>
>>
> Thank you. I have added . to PATH and it now works.
please reconsider that approach carefully, it opens up a bunch of
potential security risks
--
We gave you an atomic bomb, what do you want, mermaids?
-- I. I. Rabi to the Atomic Energy Commission
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|