DigiPaper Build Environment


 

Windows NT

Environment

Variable

Value

Explanation

DGP_OSTYPE x86_win32 Indicates build platform to make files
MAKE_MODE unix GNU make uses the sh environment for build subshells instead of the NT command prompt.
CVSROOT :pserver:<username>@dsi.parc.xerox.com:/project/icons/cvsroot Indicates the location of the cvsroot (duh), using the client server version of cvs in this case.  Where <username> is your username under Unix.  Must do an initial "cvs login" if building in a new environment (use your unix password, password will be saved so that there is no need to do future logins).
DGP_DIR <mapped_digipaper_dir> Indicates the location of the digipaper base dir (containing src, include, lib, etc.).  Can be local or global.  example <mapped_digipaper_dir>:
I:/digipaper
(if I: were mapped to say \\thelma\icons)
(again, best to use forward slashes).
DGP_IPC_DIR <mapped_ipcore_dir> Indicates the location of the digipaper base dir (containing src, include, lib, etc.).  Most likely global, example <mapped_ipcore_dir>:
I:/ipcore
if I: were mapped to say \\thelma\icons)
(again, best to use forward slashes).
DGP_IO_DIR <mapped_mrcio_dir> Indicates the location of the MRCIO base dir (containing iolib, mrccp, etc.).  Most likely global, example <mapped_mrcio_dir>:
I:/mrcio
if I: were mapped to say \\thelma\icons)
(again, best to use forward slashes).
DGP_WIN32_INCLUDE <dev studio 6.0 include dir> Something like:
C:/Progra~1/Micros~1/Vc98/include
(like I said, best to use forward slashes).
LOGNAME <your login name> Like:
jahlborn
JDK_HOME <path to Java Development Kit> Like:
e:\jdk-1.3.1
(I think this is set up when installing JDK)
PATH <old path>;<cvs path>;<cygwin path>;<$DGP_DIR/src/npdgpdec/PluginSDK/bin/win32>;<jdk path> Like:
$path;e:\cvs;e:\cygnus\B19\H-i386-cygwin32\bin;$DGP_DIR\src\npdgpdec\PluginSDK\bin\win32;$JDK_HOME\bin
(the cvs and cygwin stuff is on \\shine\digipaper).
(the cvs path *must* be before the cygwin path).
(the javah.exe in npdgpdec/PluginSDK/bin/win32 must be used instead of the JDK version (could someone explain why, or else fix the current jnidgpdec compile))

For "ntprint" only (the windows NT print driver):

DGP_PRNDRV_OSTYPE x86_winnt Indicates specific win32 build platform to make files.
DDKDIR <ddk_path> Like:
e:/ddk
(the ddk stuff is on \\shine\digipaper).
(yes, use the forward slashes).
     

Build Tools

App Name

App Vendor

Version

make GNU 3.75-B19
cl.exe (compiler) Microsoft 12.00.8168 (included in Visual Studio 6.0, sp 3)
link.exe (linker) Microsoft 6.00.8447 (included in Visual Studio 6.0, sp 3)
bscmake.exe (browse info) Microsoft 6.00.8168 (included in Visual Studio 6.0, sp 3)
rc.exe (resource compiler) Microsoft 5.00.1641.1 - Build 1641 (included in Visual Studio 6.0, sp 3)
cvs.exe (version control) GNU 1.10
jar.exe (Java archive) Sun 1.3.1
javah.exe (Java header compiler) Sun 1.3.1
javac.exe (Java compiler) Sun 1.3.1

 

UNIX

Environment

Variable

Value

Explanation

DGP_DIR <base_digipaper_dir> Like:
/project/icons/digipaper
DGP_IPC_DIR <base_ipcore_dir> Like:
/project/icons/ipcore
DGP_OSTYPE sparc_solaris Indicates build platform to make files.
CVSROOT <icons_cvsroot_dir> Where <icons_cvsroot_dir> part is same as above.  Such as:
/project/icons/cvsroot
    

Build Tools

App Name

App Vendor

Version

gcc (compiler, linker) GNU 2.7.2
etags (browse info) GNU (Emacs 20.4)
cvs (version control) GNU 1.10
Java (jar, javac, javah, ...) Sun 1.3.1

 

Building DigiPaper

Since Digipaper depends on MRCIO, and MRCIO depends on Digipaper, there is a build procedure required to seed the first build of both:
  1. Export the include files (note the first make does the mkdirs):
    	% cd $DGP_DIR
    	% make
    	% cd src
    	% make releaseinc
    
  2. Build the no-codec (no IPCore) version of MRCIO:
    	% cd $DGP_IO_DIR
    	% make nodebug-ipc
    
  3. Build Digipaper:
    	% cd $DGP_DIR/src
    	% make
    
  4. (optional) from here, you could finish the build of MRCIO:
    	% cd $DGP_IO_DIR
    	% make
    

$Header: /project/icons/cvsroot/digipaper/doc/Dgp\040Build\040Env.htm,v 1.6 2001/11/05 20:39:45 dabercro Exp $