[gs-devel] Re: GS ActiveX control
balaton at eik.bme.hu
Fri Jun 21 06:43:55 PDT 2002
On Fri, 21 Jun 2002, Russell Lang wrote:
> > I'd have a related question. Is it possible to use the graphics library
> > and the interpreter (only one instance of it) from one process at the same
> > time? If yes what are the things to watch for? (I'd need this to render ps
> > files in a program that uses gslib itself.)
> I'm not sure about this on Unix.
> On Windows it would be OK if at least one of them was in a
> DLL, since this would separate the global variables.
> Unix linking is different - I've seen shared library find a
> function in the caller rather than one within the shared
I'd need this also on Unix of course... Is this a problem with the globals
used by the graphics library? If yes, this probably could be solved by
building the graphics library as a shared object and linking it to both
the program and the interpreter. (The interpreter then could be another
shared object which links to the "library library".) Would this be
possible or am I misunderstanding the problem? Anyway this is not high
priority for me right now, I just asked to see the possibilites as this
issue came up.
> > I also have a problem compiling the graphics library only with the
> > pdfwrite device. I get the following error:
> > make: *** No rule to make target `dscparse.dev', needed by `obj/pdfwrite.dev'. Stop.
> > The problem is that the pdfwrite device depends (at least) on dsc parsing
> > which is in the interpreter. This seems to me a bug as in my understanding
> > device drivers are part of the library so they shouldn't depend on things
> > in the interpreter. Should I file a bug report with this?
> There are some related open bug reports:
This is indeed related as it was reported by me as well :-), but this is
probably not caused by a dependency between the library and the
interpreter, just by a dependency between language features.
This is the bug causing my problem. I hope it will be fixed soon.
Thanks for your reply,
More information about the gs-devel