Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #90066

Re: how to execute cprog1.c

From Cal Dershowitz <cal@example.invalid>
Newsgroups comp.lang.c
Subject Re: how to execute cprog1.c
Date 2016-07-06 01:39 -0700
Message-ID <du3uekFgc4qU1@mid.individual.net> (permalink)
References <dtphk9F2uacU1@mid.individual.net> <9d526c69-6d75-cb18-281d-8729e9f9339d@verizon.net>

Show all headers | View raw


On 07/02/2016 08:45 AM, James R. Kuyper wrote:

> Select the big green "Clone or download" button. A window pops up that
> gives you a URL that can be use with SVN or git to download the files.
> The button to the right of the URL causes it to be copied to your
> clipboard. If you select "Use SSH", it shows a URL that can be used with
> ssh for the same purpose. I don't have git installed on my current
> system, and I couldn't get the SVN or SSH alternatives to work - there's
> probably some details about how to use them that I don't know about.
> However, there's also a "Download ZIP" option at the bottom of the
> pop-up window, and that worked for me. For a package this small, another
> option is to select each file name, and then copy and paste the contents
> of that file from the screen to a text file.

aha, the encoding will matter...
>
> This package comes with no script or instructions for building or
> installing this package. The README references a the book "Intermediate
> Perl", which might contain relevant instructions.


This is to be a "distribution," and they tell you to write the ass end 
of it first. Then a person hears about how directories and C compilers 
are brought to bear, and hence the post. The idioms I'm holding to are 
those of Gilligan's island, and the castaways need to figure out where 
they are so that they can get themselves through the ordeal and 
homeward. Now that juno closes in on jove, I find the extension to 
exploring the solar system apropos. If I recall correctly, that isn't 
far from your line of work.

> However, this
> particular program doesn't require anything complicated. On my machine,
> if I type
>
>      make cprog1
>
> the make command creates a command that produces the desired results:
>
> cc -ansi -pedantic -Wall -Wpointer-arith -Wcast-align
> -Wstrict-prototypes -Wmissing-prototypes    cprog1.c   -o cprog1

Getting this functionality would be victory enough for this thread. I'm 
on my linux partition now and falling short:
$ pwd
/home/fred/Downloads/island-master
$ make cprog1.c
make: Nothing to be done for `cprog1.c'.

I'll give it a try on windows when I get back there. Thanks for your 
comment, james.
-- 
Cal Dershowitz

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to execute cprog1.c Cal Dershowitz <Cal@example.invalid> - 2016-07-02 02:59 -0700
  Re: how to execute cprog1.c Luuk <luuk@invalid.lan> - 2016-07-02 12:21 +0200
  Re: how to execute cprog1.c "James R. Kuyper" <jameskuyper@verizon.net> - 2016-07-02 11:45 -0400
    Re: how to execute cprog1.c Cal Dershowitz <cal@example.invalid> - 2016-07-06 01:39 -0700
      Re: how to execute cprog1.c James Kuyper <jameskuyper@verizon.net> - 2016-07-06 11:16 -0400
        Re: how to execute cprog1.c Cal Dershowitz <cal@example.invalid> - 2016-07-07 23:00 -0700
          Re: how to execute cprog1.c luser droog <luser.droog@gmail.com> - 2016-07-07 23:30 -0700
            Re: how to execute cprog1.c Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-08 10:09 +0100
            Re: how to execute cprog1.c Cal Dershowitz <cal@example.invalid> - 2016-07-08 03:34 -0700
            Re: how to execute cprog1.c gazelle@shell.xmission.com (Kenny McCormack) - 2016-07-08 10:57 +0000
          Re: how to execute cprog1.c Udyant Wig <udyantw@gmail.com> - 2016-07-08 15:14 +0530
  Re: how to execute cprog1.c Keith Thompson <kst-u@mib.org> - 2016-07-02 14:39 -0700
    Re: how to execute cprog1.c Cal Dershowitz <cal@example.invalid> - 2016-07-06 02:30 -0700
      Re: how to execute cprog1.c Keith Thompson <kst-u@mib.org> - 2016-07-06 08:40 -0700
        Re: how to execute cprog1.c Cal Dershowitz <cal@example.invalid> - 2016-07-11 23:33 -0700
  Re: how to execute cprog1.c Real Troll <real.troll@trolls.com> - 2016-07-06 18:38 +0100
    Re: how to execute cprog1.c raltbos@xs4all.nl (Richard Bos) - 2016-07-06 19:57 +0000

csiph-web