configure
Maurice Lombardi
Maurice.Lombardi at ujf-grenoble.fr
Wed Dec 19 17:47:20 CET 2001
Frank Heckenbach wrote:
> All of this is in diff24.new. As the file name says, I suggest to
> apply this instead of Maurice's diff24, for the reasons given above.
I agree. This is better.
I have made corresponding changes for pascal/bgi (diff25) and checked them.
Anyway, even for manual editing (which should always be documented for
djgpp and mingw minimal configurations), it must be added after "edit makedefs.grx":
If you plan to use pascal (gpc), and not use configure, edit the files pascal/grx.pas and
pascal/bgi/graph.pas to uncomment the {$L ...} instructions (near the beginning)
to load the auxiliary libraries (png jpeg tiff z) you have.
For the configure script I have found a problem with djgpp (and presumably also
mingw): if you have all libraries, a prefix, a fontpath and a libsubdir, you overcome
the 126 chars dos limit for length of command line. With djgpp you can boot bash first
(instead of writing sh ./configure ...), but then you have to exit from bash to run
make, since it contains instructions (if exist ... del ...) valid only for command.com
For mingw I do not even know if the available sh can overcome this limit: this was not
so last time I used such a system.
The solution is to enable shortcuts e.g., -en- for --enable- and -di- for --disable-
Furthermore I see no reason not to keep separate libsubdirs with default names like previously.
(this will save an option): compiling both djgpp and mingw in the same tree is probably not so an
unlikely issue (and libraries are currently not deleted with clean).
Otherwise everything runs fine.
Maurice
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 63 54 95
mailto:Maurice.Lombardi at ujf-grenoble.fr
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff25
URL: <http://www.g-n-u.de/pipermail/grx/attachments/20011219/a65a417e/attachment.txt>
More information about the Grx
mailing list