From scurran@aracnet.net Sun May 31 16:31:09 1998 From: scurran@aracnet.net To: users@lists.opensuse.org Subject: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 12:31:09 -0400 Message-ID: <357185CD.1E47646@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8602253675244925391==" --===============8602253675244925391== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit when I try to run a file such as "hello world" using gcc I compile using: "gcc -o hello hello.c" "chmod 777 hello" permissions now read "rwxrwxrwx hello" when I try to run "hello" I get the message "hello command not found" I have just done a full install of 5.1 on an intel 133mhz machine. How do I get the file to run? -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============8602253675244925391==-- From gecko@benham.net Sun May 31 17:02:02 1998 From: gecko@benham.net To: users@lists.opensuse.org Subject: RE: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 10:02:02 -0700 Message-ID: In-Reply-To: <357185CD.1E47646@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9094271384844317419==" --===============9094271384844317419== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable
try ./hello   it's possible the current working directory is NOT in your path=
.=20
In unix/Linux, you have to specify the current directory explicitly for it to
be includeded.

On 31-May-98 denis miller wrote:
> permissions now read "rwxrwxrwx hello"
> when I try to run "hello"
> I get the message "hello command not found"

----------------------------------
http://benham.net/index.html>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++ E? W+++$ N+(-) o? K-
w+++$(--) O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++
G++>G+++ e h+ r* y+
------END GEEK CODE BLOCK------
----------------------------------
PGP signature

--===============9094271384844317419==-- From deem@wdm.com Sun May 31 17:22:21 1998 From: deem@wdm.com To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 09:22:21 -0800 Message-ID: <199805311722.JAA25035@wdm.com> In-Reply-To: <357185CD.1E47646@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6953274501695106107==" --===============6953274501695106107== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit denis miller wrote: > . > How do I get the file to run? Hmmm have you tried ./hello ? -Dee W.D.McKinney (Dee) -=- deem(a)wdm.com No claim to fame, just saved by Grace. -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============6953274501695106107==-- From johnsonburke@toward.com Sun May 31 18:24:00 1998 From: johnsonburke@toward.com To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 14:24:00 -0400 Message-ID: <199805311824.OAA00391@toward.com> In-Reply-To: <357185CD.1E47646@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0113111161146927366==" --===============0113111161146927366== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Usually a path problem: if your current directory is not on your path, try ".= /hello" -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============0113111161146927366==-- From scurran@aracnet.net Sun May 31 18:53:06 1998 From: scurran@aracnet.net To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 14:53:06 -0400 Message-ID: <3571A712.9BCAE596@aracnet.net> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0208817488061697581==" --===============0208817488061697581== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thanks, however where and when do I type ./hello. I am feeling pretty lost in this right now. The help is appreciated! Darren Benham wrote: > try ./hello it's possible the current working directory is NOT in your pa= th. > In unix/Linux, you have to specify the current directory explicitly for it = to > be includeded. > > On 31-May-98 denis miller wrote: > > permissions now read "rwxrwxrwx hello" > > when I try to run "hello" > > I get the message "hello command not found" > > ---------------------------------- > http://benham.net/index.html> > -----BEGIN GEEK CODE BLOCK----- > Version: 3.1 > GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++ E? W+++$ N+(-) o? K- > w+++$(--) O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++ > G++>G+++ e h+ r* y+ > ------END GEEK CODE BLOCK------ > ---------------------------------- > > ------------------------------------------------------------------------ > > Part 1.2 Type: application/pgp-signature -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============0208817488061697581==-- From gecko@benham.net Sun May 31 20:05:43 1998 From: gecko@benham.net To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 13:05:43 -0700 Message-ID: In-Reply-To: <3571A712.9BCAE596@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3270919509953329371==" --===============3270919509953329371== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable

On 31-May-98 denis miller wrote:
>=20
> Thanks, however where and when do I type ./hello.  I am feeling pretty lost
> in
> this right now.
> The help is appreciated!
>=20
> Darren Benham wrote:
>=20
>> try ./hello   it's possible the current working directory is NOT in your
>> path.
>> In unix/Linux, you have to specify the current directory explicitly for it
>> to
>> be includeded.
>>
>> On 31-May-98 denis miller wrote:
>> > permissions now read "rwxrwxrwx hello"
>> > when I try to run "hello"

You try to run "./hello" and not "hello"... do it at this point of your test.

>> > I get the message "hello command not found"

----------------------------------
http://benham.net/index.html>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++ E? W+++$ N+(-) o? K-
w+++$(--) O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++
G++>G+++ e h+ r* y+
------END GEEK CODE BLOCK------
----------------------------------
PGP signature

--===============3270919509953329371==-- From laszlo@idt.net Mon Jun 1 02:12:01 1998 From: laszlo@idt.net To: users@lists.opensuse.org Subject: Re: [S.u.S.E. Linux] gcc compiling under 5.1 Date: Sun, 31 May 1998 22:12:01 -0400 Message-ID: In-Reply-To: <3571A712.9BCAE596@aracnet.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0219633398713793033==" --===============0219633398713793033== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable You can also add . to your path statement in your shell startup script file. ( this may be .profile .tcshrc .cshrc depending on which shell you are running ) Just make sure that it is the last entry in the path list. Laszlo On Sun, 31 May 1998, denis miller wrote: >=20 > Thanks, however where and when do I type ./hello. I am feeling pretty lost= in > this right now. > The help is appreciated! >=20 > Darren Benham wrote: >=20 > > try ./hello it's possible the current working directory is NOT in your = path. > > In unix/Linux, you have to specify the current directory explicitly for i= t to > > be includeded. > > > > On 31-May-98 denis miller wrote: > > > permissions now read "rwxrwxrwx hello" > > > when I try to run "hello" > > > I get the message "hello command not found" > > > > ---------------------------------- > > http://benham.net/index.html> > > -----BEGIN GEEK CODE BLOCK----- > > Version: 3.1 > > GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++ E? W+++$ N+(-) o? K- > > w+++$(--) O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++ > > G++>G+++ e h+ r* y+ > > ------END GEEK CODE BLOCK------ > > ---------------------------------- > > > > ------------------------------------------------------------------------ > > > > Part 1.2 Type: application/pgp-signature >=20 >=20 >=20 > -- > To get out of this list, please send email to majordomo(a)suse.com with > this text in its body: unsubscribe suse-linux-e >=20 -- To get out of this list, please send email to majordomo(a)suse.com with this text in its body: unsubscribe suse-linux-e --===============0219633398713793033==--