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

Mail #1322

Back to main page of archive

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

From: Jan-Jaap van der Heijden
Subject: Problem building New GPC beta: gpc-971001 for DJGPP v2.1
Date: 16 Oct 1997, 00:12:49

On Tue, 14 Oct 1997, Peter Gerwinski wrote:

[...]

> Obviously, the configuration stuff for DJGPP is completely broken. :-(
> 

Oops -- I hacked the autoconf stuff to add the "autopatch" stuff, and
while I generated the gpc-config.h for djgpp, I didn't adapt the djgpp
Makefiles, like the unix ones. 

> Since I am busy with other things right now, I would be really happy if
> somebody else could have a look at that.  (I am not an expert in
> configuration of C sources anyway.;-)
> 
> Normally (i.e. on UNIX), configuration is done by running a `configure'
> shell script in the `p' directory.  The `configure' script has in turn
> been produced by `autoconf' from a `configure.in' source file.  The goal
> of all this is to produce a `Makefile' from `Makefile.in' and
> `gpc-config.h' from `gpc-config.in'.

Generally speaking, this is true. However, for GPC, the Makefile is
generated by the toplevel (GCC) configure, with help from a language
specific configure fragment in the GPC dir. The (new) configure in the GPC
directory does some additional checks and writes only gpc-config.h

> 
> If you produce `Makefile' and `gpc-config.in' manually and let
> `configur.bat' copy them from `config/msdos' to the right places, it
> would be fine.  (* Jan-Jaap, is this the clean way for DJGPP
> configuration? *)
> 

I believe currently the Makefile is extracted from Makefile.in with the
help of a sed script in the config/msdos dir. This must be executed from
the toplevel configure.bat. That's how djgpp itself does it, and if GPC
follows this convention, it fits the djgpp scheme best.

> Personally, I would prefer to have `configur.bat' in the `p'
> subdirectory rather than in `config/msdos'; in fact I do not know which
> place is the "clean" one for this file according to GNU conventions.
> 

The reason it is "hidden" in config/msdos is because it's never run
directly by the end user, but by the configure.bat in the GCC toplevel
directory. It's supposed to be transparent.

I'm probably the person to fix all of this, but it may take a week or so,
because I'm busy hacking the win32 GPC right now.

JanJaap

---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

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


In reply to

Author Subject Date
Peter Gerwinski Problem building New GPC beta: gpc-971001 for DJGPP v2.1 14 Oct 1997, 10:32:54

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).