C42pdf v 0.08 - compilation notes

first see c4readme.txt for general information

1. Compilation of c42pdf on Linux 

Compiler: standard gcc compiler (used Debian 2.0.34)

run 'make -f makefile.lin'


2. Compilation of c42pdf on Windows 32

Compiler: egcs-mingw32-1.1.2 (ftp://ftp.xraylith.uwisc.edu/pub/khan/gnu-win32/mingw32/egcs-1.1.2/), binutils-2.9.1, "make" command from Cygnus

run 'make -f makefile.win'


3. Libpdf* library 
 
This has been compiled from source from PDFlib v. 0.6 by Thomas Merz, download from http://www.ifconnection.de/~tm. Thomas Merz points out a new library will be available soon.

"l" denotes Linux, "w" denotes Windows

3.1 Notes applicable for compiling all libraries: 
- makefile.gcc and makefile.wat: outcomment line 153 ($(RM) $(PDFLIB))

3.2 Compiling under Linux (gcc)

- makefile.gcc:25: change to "DEFINES=-DPOSIX" 
run 'make -f makefile.gcc'
rename library to libpdfl.a

3.3 Compiling under Windows (gcc)

- makefile.gcc:25: change to "DEFINES=-DWIN32"
- makefile:70 and makefile:92: ("getopt" lines) outcomment
- makefile: To use the gcc Windows port instead of Watcom's C compiler (used by Merz), adapt settings: "INCDIR= CC=gcc CCOPT=-g -c -I. LD=gcc LDOPT= OBJ=o EXE=.exe RM=rm AR=ar AROPTS=rc RANLIB=ranlib".
- p_port.h:11,13 and 14: outcomment
rename library to libpdfw.lib

I haven't done much testing, so in case of any problems, please do not hesitate to send mail to c42pdf@ffii.org.


Holger Blasum, 5 June 1999









