Problem building New GPC beta: gpc-971001 for DJGPP v2.1_(re)

Tue, 14 Oct 1997 10:32:54 +0200 (MEST)


According to Maurice Lombardi:
> According to myself (Peter Gerwinski):
> > `cd' to `\djgpp\gnu\gpc\p' and do `make ../xgpc', `make ../gpc1',
> > `make ../gpc-cpp', and `make ../libgpc.a' from there.
> 
> rather cd \djgpp\gnu\gcc-2721\p 

Of course.  #-)  Sorry.

> make finds no rule to build ../xgpc there (they are in make-lan.in)
> 
> but it works by issuing make xgpc in the parent directory
> 
> \djgpp\gnu\gcc-2721 (the rule is indeed in the generated makefile)
> 
>
> 
> make gpc1 in this parent directory does not work (there is a rule but it
> 
> does not find a file)
>
> [...]

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

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

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? *)

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.

    Peter

 Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005]
 maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es