[gs-devel] ghostscript 7.20rc2 available for testing

Russell Lang gsview at ghostgum.com.au
Mon Apr 1 15:15:52 PST 2002


Peter,

The warnings in the gsmake.tcl output that caught my 
attention were for the dw* files.  These are Windows files 
for the executable which calls the GS DLL.  Using 
gsmake.tcl to check unix-gcc.mak complains that there are 
no rules for dw*.  This is normal.  The Unix makefile 
shouldn't contain rules for Windows files.  gsmake.tcl also 
complains about platform specific files for other platforms 
(OS/2, Mac). In fact it complains about any source file 
that isn't used by unix-gcc.mak.  

I don't have access to the GS 6 toolbin files, but I 
wouldn't be surprised if similar warnings occurred back 
then.

Russell

Date sent:      	Mon, 1 Apr 2002 14:13:06 -0800
From:           	"L. Peter Deutsch" <ghost at aladdin.com>
To:             	gsview at ghostgum.com.au
Copies to:      	gs-devel at ghostscript.com
Subject:        	Re: [gs-devel] ghostscript 7.20rc2 
available for testing

> > The following give quite different results:
> > 
> > cp src/unix-gcc.mak makefile
> > toolbin\gsmake.tcl check
> > 
> > ln -s src/unix-gcc.mak makefile
> > toolbin\gsmake.tcl check
> 
> Aha!  gsmake currently considers that the "source" directory is the
> directory where the makefile lives *after resolving links*.  If the makefile
> is a link, the log says:
> 
>     Reading makefile src/unix-gcc.mak
>     Scanning source directory src
>     441 584 3 files
> 
> If the makefile is a copy, the log says:
> 
>     Reading makefile makefile
>     Scanning source directory .
>     0 4 0 files
> 
> The correct fix for this, IMO, is to change gsmake so that it scans every
> directory that is mentioned in the dependency list of any build rule in the
> makefile.  If this turns out to be too sweeping, a reasonable fallback (for
> Ghostscript) is to scan every directory mentioned in an "include" in the
> makefile tree.
> 
> -- 
> 
> L. Peter Deutsch     |    Aladdin Enterprises   |  203 Santa Margarita Ave.
> ghost at aladdin.com    |  http://www.aladdin.com  |  Menlo Park, CA 94025
> 
> 	The future of software is at http://www.opensource.org


Russell Lang                   gsview at ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/





More information about the gs-devel mailing list