Nmap Development mailing list archives

Re: Compiling Nmap on Visual C++ 2005 Express


From: Fyodor <fyodor () insecure org>
Date: Sun, 27 Nov 2005 20:54:27 -0800

On Sun, Nov 27, 2005 at 11:36:14PM -0500, Sina Bahram wrote:
#1: does VS even honor cflags? I thought this was handled by the solution
properties, and other vs specific features. Also, VS doesn't use autoconf or
make, so how do cflags mean anything in this context?

#2: does one therefore make the appropriate changes in the configure script
or in the makefile.in file?

The appropriate place to add PCRE_STATIC is probably
libpcre/pcre_winconfig.h .  Here is the trivial patch:

--- libpcre/pcre_winconfig.h    (revision 2863)
+++ libpcre/pcre_winconfig.h    (working copy)
@@ -1,5 +1,5 @@
 #define EXPORT
-
+#define PCRE_STATIC 1
 #define HAVE_STRERROR 1
 #define HAVE_MEMMOVE  1


Please let me know if this doesn't work for some reason.

Cheers,
Fyodor


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: