On Saturday, June 2, 2012 00:13 CEST, Riccardo
Mottola<riccardo.mottola@libero.it> wrote:
Hi,
I fixed several details in the PDFKit/xpdf build system (currently
available in GAP and used for example by GWorkspace by its inspector).
It contained several hacks which made it compile on linux+gcc, but not
well on other systems or compilers.
I fixed some places which forced the "C" compiler to be g++ (I suppose
for linking purposes) which prevented building with clang and cleaned up
some of the cflags and ldflags.
I still can build fine and use it on linux/x86 and on freebsd8/gcc. With
freeBSD9 it builds (but displays white pages). On NetBSD and OpenBSD
however it builds, but it fails to be used by the gworkspace configure
script. I think that either some option is not working or that
gnustep-make has problems when linking objective-c and C++ file?
I suppose that when OBJC, CC files are mixed, our make system will do
the right thing...
The symbols appear to be C++ symbols, or not?
shortly after sending my mail, I've seen this in the GNUmakefile.in of
PDFKit:
# Use C++ to link library (this won't work if g++ is not the obj-c compiler!)
#CC=@CXX@
Don't know what the problem is, what the comment describes, and
why the following line is commented out...