Hey folks.

I'm working on a perl hook into the Ghostscript API, and I'm having some
trouble getting it to work on VMS.  (See
http://www.ghostscript.com/doc/AFPL/7.04/API.htm if you're curious.)

The problem is that the ghostscript files are compiled with /names=(as_is,
shortened) and this doesn't play nicely with the MakeMaker-based build
procedure for XS modules.

What can I do?

Is there some way to tell to tell the compiler and/or linker to treat the
ghostscript-related names in one way and the perl-related names in another?
(I didn't see a #pragma for this.)

Would it help to build the ghostscript library as a sharable image?  There
are build files to do this on unix and win32, but I'm just creating a
static library on VMS right now, because that's a lot simpler.

Any advice would be most appreciated.

Forrest Cahoon
not speaking for merrill corporation


Reply via email to