Gentoo Archives: gentoo-user

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Running Scripts
Date: Sat, 28 Jul 2007 16:26:54
Message-Id: 8cd1ed20707280920v3f80ef00rd9399563dd12453d@mail.gmail.com
In Reply to: Re: [gentoo-user] Running Scripts by Uwe Thiem
1 On 7/29/07, Uwe Thiem <uwix@××××.na> wrote:
2 > On 28 July 2007, Kent Fredric wrote:
3 >
4 > > try a plain old bash script and see if that works, and try this and
5 > > see if it works:
6 > >
7 > > cat >> testrun.c
8 > > #include <stdio.h>
9 > > int main(int argc, int* argv)
10 > > {
11 > > printf("helloworld");
12 > > }
13 > > ( press ctrl+d here )
14 > >
15 > > make testrun
16 >
17 > Without writing a Makefile, make won't build the program. ;-)
18
19 funny, it did for me :P
20
21 just make testrun does "ok,.. testrun = target, what makes testrun?..
22 *looks around* ah... heres a testrun.c, that aught to do it :D .... "
23
24
25 $ls -l testrun.c Makefile
26 ls: cannot access Makefile: No such file or directory
27 -rw-r--r-- 1 devious users 77 2007-07-29 00:24 testrun.c
28
29 $make testrun
30 cc testrun.c -o testrun
31
32 $ ./testrun
33 helloworld
34
35
36 > You better try this:
37 >
38 > gcc -o testrun testrun.c
39 >
40 > Uwe
41 >
42 > >
43 > > ./testrun
44 > >
45 > > if that fails to do ./testrun, then i figgure the FS your on isn't
46 > > execable. sorry. ^^
47 > >
48 > >
49 > >
50 > >
51 > > --
52 > > Kent
53 > > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
54 > > print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
55 >
56 >
57 >
58 > --
59 > Jethro Tull: Maybe, I am not done yet!
60 > --
61 > gentoo-user@g.o mailing list
62 >
63 >
64
65
66 --
67 Kent
68 ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
69 print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
70 --
71 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Running Scripts "Boyd Stephen Smith Jr." <bss03@××××××××××.net>