[gs-devel] Windows 95 and Visual Studio 2005

Ray Johnston Ray.Johnston at Artifex.com
Sat Feb 9 12:23:20 PST 2008


Hi Russell,

Unless the 2003 code runs measurably slower, using 2003 for release
builds seems reasonable.

Also we should add a note to the documentation about the problem with
2005 builds running on Win95.

Do you know if a build with 2003 is any slower?

I assume that since you didn't mention it, that Win98 and Me are OK.

Regards,
Ray
------------------------------------------------------------------------

Russell Lang wrote:
> It has been reported that Ghostscript 8.61 will not run on Windows 95
>   http://bugs.ghostscript.com/show_bug.cgi?id=689689
> This is because it was compiled with Visual Studio 2005, which does not support 
> Windows 95.
>
> What is the preferred solution to this?
> 1. Continue to use Visual Studio 2005, and document that Ghostscript does not 
> work on Windows 95.
> 2. Use Visual Studio 2003 for release builds.
>
> Which compilers does Artifex plan to support for the next few releases?
>
>
>
> Explanation: The Visual Studio 2005 C RTL uses the API IsDebuggerPresent() 
> from KERNEL32.DLL, but this was introduced after Windows 95, and so 
> anything will compiled with VS 2005 will fail to run on Windows 95.  The 
> workarounds are to use an older compiler (VS 2003 or earlier), or to copy two 
> source files from the C RTL and to include modified versions in ghostscript 
> (unacceptable due to copyright).
>
> On a related topic, at this stage it is possible to compile for 64-bit Windows with 
> Visual Studio 2003 and 2005.  These both use the cross compiler, since this is 
> the only method that works with VS2003.  At the time the 64-bit build was added, 
> only VS2003 was suitable for release builds.  VS2005 was still in beta and not 
> licensed for release code.  I plan to remove the VS2003 64-bit support, and 
> change it so that only VS2005 and VS2008 work, using native compilation 
> instead of cross compilation, which should make the makefile less messy.
>
> Russell Lang                   gsview at ghostgum.com.au
> Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/
>
> _______________________________________________
> gs-devel mailing list
> gs-devel at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-devel
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ghostscript.com/pipermail/gs-devel/attachments/20080209/bef558e3/attachment.htm


More information about the gs-devel mailing list