[nanomsg] Re: Problem building on HP-UX

  • From: André Jonsson <nanomsg@xxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 20 Sep 2013 11:45:41 +0200

On 2013-09-20 11:31, Martin Sustrik wrote:
Not sure if -mt should be added automatically by the configure script.
It usually isn't.

-mt as multithreaded? If so, nanomsg uses threads internally, so it should probably be set.

Ahem... I didn't associate "mt" with multi-threaded, for some reason... It's usually needed for setting some defines (e.g. _POSIX_C_SOURCE) required for compiling some things.

But yes, it is for multi-threading, so it should be added by default, certainly.

http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/options.htm#opt-mt

I'll add that as well. As a separate patch or merged with the one I just sent?

/André


Other related posts: