Subject: Re: Newbie questions
To: Kris Lander <kris@inquo.net>
From: Augey Mikus <mikus@shell.flinet.com>
List: port-mac68k
Date: 07/14/1998 10:31:42
as to your first question, are you makeing sure you type ./a.out instead
of just a.out, if its not in a directory set in the PATH variable (i.e.
/bin, /sbin, etc...) you need to type './' to execute a binary
application.
Augey Mikus <mikus@flinet.com>
On Sat, 11 Jul 1998, Kris Lander wrote:
> Hi all, I just installed NetBSD/Mac68k on my old Macintosh IIcx, and
> while I'm familiar with Unix operating systems, I just have a few
> questions.
>
> I tried to compile a simple HelloWorld program, (I'm still learning
> C/C++, so this is a real easy one for me to write and compile). I guess
> everything compiled alright, I got an a.out file. But, when I try to run
> the program to see if it worked I get a message that says:
> a.out: Command not found.
> I checked the permissions on the file, and everything seems alright, but
> I just can't run the program. (Oh, I compiled it by using the command
> "g++ helloworld.C").
>
> Also, how do I give another user root or super user (are they the same
> thing) access? Do I just make the UID 0 (zero)?
>
> Thanks in advance for you help.
>
> Kris Lander
> kris@inquo.net
>