[nanomsg] Re: Problem building on HP-UX

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 20 Sep 2013 11:55:35 +0200

On 20/09/13 11:45, André Jonsson wrote:
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?

As is your preference. Don't forget about the MIT thing though, else I won't be able to merge it.

Thanks!
Martin


Other related posts: