[gs-devel] 68k vs ppc

Adam Heinz AHeinz at exstream.com
Wed Jul 30 13:31:18 PDT 2003


Has anyone tried to link to the (ppc) ghostscript shlib from a 68k shlib or app?

When I include Ghostscript into my (CodeWarrior 8.3) 68k shlib, I use

extern "C" {
  #pragma options align=power
  #include "shlib_api.h"
  #pragma options align=reset
}

and I also use the same bookends when I declare my callbacks.  However, when I trace through the ppc shlib, I get assignment "skipping", which would seem to indicate that my structs aren't playing nicely.

I investigated iapi.h and it looks like gs_main_instance is opaque, its actual definition being in the (not included) iminst.h header.

Any ideas?

Adam Heinz
Development Consultant

Exstream Software
2424 Harrodsburg Road, Suite 200
Lexington, KY 40503
(859) 219.8137
(859) 223.9737 fax
aheinz at exstream.com

connecting with the eGeneration
www.exstream.com





More information about the gs-devel mailing list