Summary: | Makefile changes to create a gspcl6.lib with MSVC. | ||
---|---|---|---|
Product: | GhostPCL | Reporter: | norbert.janssen |
Component: | PCL interpreter | Assignee: | Robin Watts <robin.watts> |
Status: | NOTIFIED LATER | ||
Severity: | enhancement | CC: | henry.stiles, pretend |
Priority: | P2 | ||
Version: | unspecified | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Customer: | 661 | Word Size: | --- |
Attachments: |
top makefile to build gspcl6 lib (incl. xps).
enhanced pcl6_msvc.mak to build a gspcl6.lib pl/plapi.h include file makefiles for ghostpdl-9.01 to make an all-in-one pdl (psi/xps/pcl) and a static library |
Description
norbert.janssen
2007-06-22 01:07:35 UTC
Created attachment 3046 [details]
top makefile to build gspcl6 lib (incl. xps).
This is the top-makefile I use to build a MSVC gspcl6.lib
Created attachment 3047 [details]
enhanced pcl6_msvc.mak to build a gspcl6.lib
enhancements to pcl6_msvc.mak, in order to build a gspcl6.lib
Created attachment 3049 [details]
pl/plapi.h include file
Contains some changes to enable the creation of a gspcl6.lib
Lowering priority and changing to enhancement. Also reassigning to Ralph who will take this work into consideration as part of the larger project of tree reorganization. Assigning to Ray, who's been working on the windows built. Feel free to pass anything back. I'd like to do this in a different way when we get the trees merged. (In reply to comment #3) > Created an attachment (id=3049) [details] > pl/plapi.h include file > > Contains some changes to enable the creation of a gspcl6.lib Norbert, i'm interrested in lib creatation also. Do you have you patch for current 9.01 release of ghostpdl? Created attachment 7273 [details]
makefiles for ghostpdl-9.01 to make an all-in-one pdl (psi/xps/pcl) and a static library
mdofied makefiles (for ghostpdl-9.01) to build a gspdl.exe (PSI + XPS + PCL) based on a gslib.lib (gs-library + interpreters) + a main()
copy msvc_top.mak to common, msvccmd.mak and msvclib.mak to gs/base
put gspdl_msvc.mak in e.g. language_switch
example builds (I tried dos-box and msys-shell):
nmake -f gspdl_msvc.mak XPS_INCLUDED=TRUE PSI_INCLUDED=TRUE
=> PCL + XPS + PSI
nmake -f gspdl_msvc.mak XPS_INCLUDED=TRUE
=> PCL + XPS
nmake -f gspdl_msvc.mak PSI_INCLUDED=TRUE
=> PCL + PSI (i.e. same as pspcl6_msvc.mak).
example usage:
I made a link on the desktop to this gspdl.exe (attached the gs-icon to it, e.g. from c:\Program Files\gs\uninstgs.exe) and modified properties : added '-sDEVICE=display' to the cmdline. Now I can drop any postscript, pcl or xps file on top of it to get it displayed.
We'll discuss integrating these changes at our meeting today. (In reply to comment #9) > We'll discuss integrating these changes at our meeting today. Note that the USE_LARGE_COLOR_INDEX=0 in msvc_top.mak was needed when PSI_INCLUDED=TRUE, otherwise there was a mis-alignment on the color_info (4 bytes of). I couldn't figure out were it comes from. Also I'm not entirely sure whether plapi.h needs some tweaking for c++. support. I.e. if the gslib.lib is to be linked against a main.cpp. |