Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2000 20:17:33 -0700
From:      "Duke Normandin" <01031149@3web.net>
To:        <freebsd-questions@FreeBSD.ORG>, "Ray D. Davis" <snoopy@mail.airmail.net>
Subject:   Re: How to run compiled program
Message-ID:  <00f601bf5f10$cdf898c0$119fc5d1@webserver>

next in thread | raw e-mail | index | archive | help
From: Ray D. Davis <snoopy@mail.airmail.net>
To: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG>
Date: Friday, January 14, 2000 6:41 PM
Subject: How to run compiled program


>I am on ver 2.8.  I have compiled an equivalent of hello world in both c
>and c++ using both the default a.out method and the -o option.  Yet when I
>try to execute the file which is supposed to be linked, by typing
>the file name, eg. ntest, the system says ntest: not a command.  Looking at
>the contents of the file it
>appears more like an object file than executable.  What is the dumb thing I
>am doing???


Sounds like you're a newbie to Unix like I am ;-))

./ntest should make your day! If I'm wrong, someone on this planet will climb my
frame and we'll both learn something. Your original fiasco has to do with file
permissions I think -- another freaking thing I've got to get up to speed on.

later.......-duke




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00f601bf5f10$cdf898c0$119fc5d1>