public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Running Scripts
Date: Sun, 29 Jul 2007 04:20:55 +1200	[thread overview]
Message-ID: <8cd1ed20707280920v3f80ef00rd9399563dd12453d@mail.gmail.com> (raw)
In-Reply-To: <200707281601.07079.uwix@iway.na>

On 7/29/07, Uwe Thiem <uwix@iway.na> wrote:
> On 28 July 2007, Kent Fredric wrote:
>
> > try a plain old bash script and see if that works, and try this and
> > see if it works:
> >
> > cat >> testrun.c
> > #include <stdio.h>
> > int main(int argc, int* argv)
> > {
> >   printf("helloworld");
> > }
> > ( press ctrl+d here )
> >
> > make testrun
>
> Without writing a Makefile, make won't build the program. ;-)

funny, it did for me :P

just make testrun does "ok,.. testrun = target, what makes testrun?..
*looks around* ah... heres a testrun.c, that aught to do it :D .... "


$ls -l testrun.c Makefile
ls: cannot access Makefile: No such file or directory
-rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c

$make testrun
cc     testrun.c   -o testrun

$ ./testrun
helloworld


> You better try this:
>
> gcc -o testrun testrun.c
>
> Uwe
>
> >
> > ./testrun
> >
> > if that fails to do ./testrun, then i figgure the FS your on isn't
> > execable. sorry. ^^
> >
> >
> >
> >
> > --
> > Kent
> > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
> > print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'
>
>
>
> --
> Jethro Tull: Maybe, I am not done yet!
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-07-28 16:26 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 16:14 [gentoo-user] Running Scripts Greg Lindstrom
2007-07-27 17:04 ` Alex Schuster
2007-07-27 17:11 ` Boyd Stephen Smith Jr.
2007-07-27 17:27 ` Uwe Thiem
2007-07-27 18:13   ` Greg Lindstrom
2007-07-27 18:47     ` Uwe Thiem
2007-07-27 19:04       ` Greg Lindstrom
2007-07-27 19:18         ` Eric Martin
2007-07-27 19:23         ` Florian Philipp
2007-07-28  6:29           ` Dirk Heinrichs
2007-07-27 20:38         ` Arturo 'Buanzo' Busleiman
2007-07-28 12:26     ` Kent Fredric
2007-07-28 14:33       ` Greg Lindstrom
2007-07-28 15:09         ` Uwe Thiem
2007-07-29  8:31           ` Alex Schuster
2007-07-29 12:47             ` Arturo 'Buanzo' Busleiman
2007-07-28 15:01       ` Uwe Thiem
2007-07-28 16:20         ` Kent Fredric [this message]
2007-07-28 16:27           ` Boyd Stephen Smith Jr.
2007-07-28 18:01         ` Arturo 'Buanzo' Busleiman
2007-07-28 18:03         ` Arturo 'Buanzo' Busleiman
2007-07-29 12:20     ` David Relson
2007-07-29 12:30       ` Uwe Thiem
2007-07-28 23:35 ` [gentoo-user] " Moshe Kamensky
2007-07-29  2:41   ` Moshe Kamensky
2007-07-29 12:41     ` Arturo 'Buanzo' Busleiman
2007-07-29  3:26   ` Kent Fredric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8cd1ed20707280920v3f80ef00rd9399563dd12453d@mail.gmail.com \
    --to=kentfredric@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox