Hi,
I'm struggling with a PDFKit's makefile system, especialy the brige
makefile, which is done as following (.in file), some excerpts, you can
see the whole file inside GAP.
SUBPROJECT_NAME=xpdfbridge
xpdfbridge_CFLAGS = \
-I.. \
-I../$(XPDF_SRC) \
-I../$(XPDF_SRC)/xpdf \
-I../$(XPDF_SRC)/splash \
-I../$(XPDF_SRC)/goo \
-I../$(XPDF_SRC)/fofi \
-g
xpdfbridge_CXXFLAGS = -Wno-write-strings
then it defines the source files as:
xpdfbridge_OBJC_FILES = \
Locking.m \
DPS.m \
CountingRef.m
xpdfbridge_CC_FILES = \
XPDFBridge.cc
where are actually OBJC_FILES and CC_FILES defined? I checked GNU make's
doc without success.
Anyway, what happens is that the CC file is compiled using CLFAGS and
not the CXXFLAGS.
I am investigating because a broader problem is that PDFKit compiles but
does't work (it shows blank pages, even if in the correct number) when
compiled with clang, but works with GCC. I noticed that I had to add
CC=@CC@
CXX=@CXX@
At top so that actually my CXX env. variable was used else, a mix of
clang++ and g++ was used, adding confusion probably.
Yet first... the question about CC_FILES anf CXX_FLAGS. CXX_FLAGS should
be used automatically for C++.
Riccardo
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep