DynaPDF Manual - Page 51

Previous Page 50   Index   Next Page 52

Compiling DynaPDF on macOS
Page 51 of 839
command line tools. XCode is freely available in the app store if not already installed on your
system. The current configuration creates a Universal Binary for the targets x86_64 and ARM64.
Which targets are supported can be checked with the command file.
Example:
file libdynapdf.a
or
file libdynapdf.dylib
If you don't want to create Universal binaries or if you need another CPU target then open the
file configure.in in a text editor and modify the variable ARCH as needed.
Example (add the target Power PC 64):
ARCH="-arch x86_64 -arm64 -arch ppc64"
When finish save the file and execute autoconf. This command rebuilds the configure script.
Finally type ./confrel and press enter. The configure script is now executed to build the make
files and finally the script compiles the library. When finish execute make clean to clean up the
build directory. The finish libraries are stored in the subdirectory /source.
 

Previous topic: Compiling DynaPDF on macOS, Compiling with XCode, Compiling on the Command Line

Next topic: Complex Text Layout, How to enable Complex Text Layout?, Automatic Font Substitution, Alternate font lists