delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/06/30/13:18:13

Date: Tue, 30 Jun 92 17:55:39 BST
From: P W A Stallard <P DOT W DOT A DOT Stallard AT gdr DOT bath DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Problems compiling GhostScript with DJGPP

Hello,

	I am trying to compile GhostScript 2.4.1 with GCC. Everything has
gone OK so far with just printer devices and I can now print out files that
used to make my machine fall over with memory errors.

	Now, I want to add the VGA device so that I can preview the files
before printing and this is where the problems start.  The device driver
assumes that I can write directly to the screen memory and when I run the
program I get a segmentation fault as soon as it attempts a screen write. 

	How can I make go32 allow me to write to a certain area of memory? I
don't want to re-write large chunks of code to use higher level graphics
primitives so what should I do? Has anyone else managed to compiler
GhostScript under DJGPP?

Thanks for any help,

Paul.

===============================================================================
| Paul Stallard                                        eeppwas AT uk DOT ac DOT bath DOT gdr |
|-----------------------------------------------------------------------------|
| Postgraduate Student                                                        |
| School of Electrical and Electronic Engineering,                            | 
| Univeristy of Bath, Claverton Down, Bath. BA2 7AY. ENGLAND                  |
===============================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019