Re: Compiling against external PCRE

Fabian Keil <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Ian Silvester <[email protected]> wrote:

> Thanks for jogging my memory about the prior discussion Fabian!
> 
> Xcode bundles gcc 4.2.1 which (as you wrote previously) doesn't automatically search the sensible locations for header files. Indeed, the pcre make install puts the header files at /usr/local/include. Also in that prior discussion you quoted the following as your settings for LDFLAGS & CPPFLAGS:
> 
> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include/ CC=... ./configure ...
> 
> One ignorant questions - why CPPFLAGS and not CFLAGS?

Probably I copy&pasted it from a Makefile intended
for a C++ program ...

I agree that using CFLAGS makes more sense.

Fabian

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk9wnlQACgkQSMVSH78upWOFQQCdFd3Y8dc5lMaMyiWYW9nZalio
oGwAnj34D2lgGil6VSepdBOv34ipJKPh
=M36j
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.