GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #10450

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Frank Heckenbach
Subject: cgp? (was: GP ;-)
Date: 30 May 2004, 00:57:42

Grant Jacobs wrote:

> >As I said, I don't think "make" is a good thing to think of for a
> >*normal* Pascal programmer. We're, of course, deep in the internals,
> >but a normal programm doesn't want to (and shouldn't have to) think
> >about when a compiler recreates which files. It should just produce
> >a correct executable.
> 
> You could try keep it all within gpc as so not to generate another 
> name that could conflict. Make gpc itself a small program that 
> manages whatever programs do the actual work.

That's what the program in question ("GP") actually is. (So, as I
suggested, we could rename the existing gpc executable and call this
one gpc. But I'm not sure yet, because it is an incompatible change
...)

> Have users pass options
> to this to invoke the appropriate action either as a '-' option, e.g.
> 
> gpc -make <file(s)>

gp file

> or take it a bit further in the spirit of make install, make clean:
> 
> gpc compile <options>

gp -c file

> gpc link <options>

gp file

> gpc clean <options>

gp --clean file

It's all there.

Of course, if one wants to build external stuff (manuals etc.), this
is not covered (and shouldn't be IMHO). One should use a real make
then (which can invoke "gp" in turn).

Frank

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
CBFalconer cgp? (was: GP ;-) 30 May 2004, 03:24:18
Frank Heckenbach cgp? (was: GP ;-) 30 May 2004, 15:34:27
Neil Santos cgp? (was: GP ;-) 31 May 2004, 01:29:14
Thorsten Glaser just plain gpc? (was Re: cgp?) 31 May 2004, 03:07:22
Frank Heckenbach just plain gpc? (was Re: cgp?) 31 May 2004, 14:40:00

In reply to

Author Subject Date
Waldek Hebisch cgp? (was: GP ;-) 29 May 2004, 17:15:04
Frank Heckenbach cgp? (was: GP ;-) 29 May 2004, 17:25:35
Grant Jacobs cgp? (was: GP ;-) 30 May 2004, 10:36:39

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).