Welcome! Log In Create A New Profile

Advanced

nginx custom module thread local ctx

Ruslan Mullakhmetov
December 28, 2012 11:24AM
Hi!

I develop some module for nginx and need to use c++ source files in it.

I found the way to compile it (extern c + compiler recognize .cpp files), but know i need to specify some flags.

Could you suggest a method to tell build system which compiler (CXX) and which flags to use in module/config file?

I saw in Makefile that it use $(CC) despite of there is unused definition of $(CPP) which is actually preprocessor and no CXXFLAFS /CPPFLAGS.

I will greatly appreciate your help.

I could сorrect Makefile myself but it get's irrating with each reconfigure.

--
BR, Ruslan Mullakhmetov


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

nginx custom module thread local ctx

Ruslan Mullakhmetov 1136 December 28, 2012 11:24AM

Re: nginx custom module thread local ctx

姚伟斌 596 January 04, 2013 12:14AM

Re: nginx custom module thread local ctx

chen cw 612 January 05, 2013 04:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 101
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready