public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] Mac libboost_thread or thread-mt?
@ 2011-10-04 23:40 Brian McQueen
  2011-10-05  5:35 ` Michael Grønager
  2011-10-05 14:37 ` Matt Corallo
  0 siblings, 2 replies; 7+ messages in thread
From: Brian McQueen @ 2011-10-04 23:40 UTC (permalink / raw)
  To: Bitcoin-development

I installed boost via the mac ports.  Its got lobboost_thread-mt, but
it doesn't have libboost_thread.a. Should I modify the makefile or get
a different version of boost?

-- 
Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-04 23:40 [Bitcoin-development] Mac libboost_thread or thread-mt? Brian McQueen
@ 2011-10-05  5:35 ` Michael Grønager
  2011-10-05 14:37 ` Matt Corallo
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Grønager @ 2011-10-05  5:35 UTC (permalink / raw)
  To: Brian McQueen; +Cc: Bitcoin-development

Hi Brian,

Had a similar issue the other day with my cmake btc buildsystem - I just changed the name to -mt, I think that is th way to go.

Cheers,

Michael

On 05/10/2011, at 01:40, Brian McQueen wrote:

> I installed boost via the mac ports.  Its got lobboost_thread-mt, but
> it doesn't have libboost_thread.a. Should I modify the makefile or get
> a different version of boost?
> 
> -- 
> Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-04 23:40 [Bitcoin-development] Mac libboost_thread or thread-mt? Brian McQueen
  2011-10-05  5:35 ` Michael Grønager
@ 2011-10-05 14:37 ` Matt Corallo
  2011-10-05 18:42   ` Gavin Andresen
  1 sibling, 1 reply; 7+ messages in thread
From: Matt Corallo @ 2011-10-05 14:37 UTC (permalink / raw)
  To: Brian McQueen; +Cc: Bitcoin-development

On Tue, 2011-10-04 at 16:40 -0700, Brian McQueen wrote:
> I installed boost via the mac ports.  Its got lobboost_thread-mt, but
> it doesn't have libboost_thread.a. Should I modify the makefile or get
> a different version of boost?
> 

(from
http://stackoverflow.com/questions/2293962/boost-libraries-in-multithreading-aware-mode)

The -mt suffix means built in multithreading aware mode (what this means
for a threading library I have no idea), however that suffix was removed
from Linux and Mac builds in 1.42.  If you are linking against 1.42+ on
Linux/Mac, adding/removing the -mt suffix means nothing AFAICT.

Matt




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-05 14:37 ` Matt Corallo
@ 2011-10-05 18:42   ` Gavin Andresen
  2011-10-05 18:50     ` Douglas Huff
  0 siblings, 1 reply; 7+ messages in thread
From: Gavin Andresen @ 2011-10-05 18:42 UTC (permalink / raw)
  To: Bitcoin-development

I updated src/makefile.osx and doc/build-osx.txt  today, assuming that
the MacPorts versions of dependencies will be used and the -mt boost
libraries will be used.

I also modified makefile.unix and makefile.osx to auto-build
dependencies using gcc's  -MMD  option.

-- 
--
Gavin Andresen



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-05 18:42   ` Gavin Andresen
@ 2011-10-05 18:50     ` Douglas Huff
  2011-10-06 22:18       ` Brian McQueen
  0 siblings, 1 reply; 7+ messages in thread
From: Douglas Huff @ 2011-10-05 18:50 UTC (permalink / raw)
  To: Gavin Andresen; +Cc: Bitcoin-development

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

Bad update. Macports has a couple of boost packages. Install the newer 1.46
ones.

-- 
Douglas Huff
On Oct 5, 2011 1:43 PM, "Gavin Andresen" <gavinandresen@gmail.com> wrote:
> I updated src/makefile.osx and doc/build-osx.txt today, assuming that
> the MacPorts versions of dependencies will be used and the -mt boost
> libraries will be used.
>
> I also modified makefile.unix and makefile.osx to auto-build
> dependencies using gcc's -MMD option.
>
> --
> --
> Gavin Andresen
>
>
------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development

[-- Attachment #2: Type: text/html, Size: 1541 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-05 18:50     ` Douglas Huff
@ 2011-10-06 22:18       ` Brian McQueen
  2011-10-06 23:35         ` Eric Mockensturm
  0 siblings, 1 reply; 7+ messages in thread
From: Brian McQueen @ 2011-10-06 22:18 UTC (permalink / raw)
  To: Bitcoin-development

I added -mt and it compiles, but here is a surprise.  I had to add
libz.a to the makefile.osx.  Sounds odd!  Its coming from the crypto
libs.

On Wed, Oct 5, 2011 at 11:50 AM, Douglas Huff <dhuff@jrbobdobbs.org> wrote:
> Bad update. Macports has a couple of boost packages. Install the newer 1.46
> ones.
>
> --
> Douglas Huff
>
> On Oct 5, 2011 1:43 PM, "Gavin Andresen" <gavinandresen@gmail.com> wrote:
>> I updated src/makefile.osx and doc/build-osx.txt today, assuming that
>> the MacPorts versions of dependencies will be used and the -mt boost
>> libraries will be used.
>>
>> I also modified makefile.unix and makefile.osx to auto-build
>> dependencies using gcc's -MMD option.
>>
>> --
>> --
>> Gavin Andresen
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy1
>> _______________________________________________
>> Bitcoin-development mailing list
>> Bitcoin-development@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
>



-- 
Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Bitcoin-development] Mac libboost_thread or thread-mt?
  2011-10-06 22:18       ` Brian McQueen
@ 2011-10-06 23:35         ` Eric Mockensturm
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Mockensturm @ 2011-10-06 23:35 UTC (permalink / raw)
  To: Brian McQueen; +Cc: Bitcoin-development

[-- Attachment #1: Type: text/plain, Size: 3285 bytes --]

Brian,

Yea, I vaguely remember going through all this when I first tried building it.  If I recall you can statically link libz into crypto when you compile crypto.  Or something like that.  Maybe the default MacPorts crypto install does not do this.

Eric

-- 
Eric Mockensturm, Ph.D.
Associate Professor
Department of Mechanical & Nuclear Engineering
The Pennsylvania State University
157C Hammond Building
University Park, PA  16802
Email:  emm10@psu.edu
Phone/Fax:  (814) 863-0736/7222


On Oct 6, 2011, at 6:18 PM, Brian McQueen wrote:

> I added -mt and it compiles, but here is a surprise.  I had to add
> libz.a to the makefile.osx.  Sounds odd!  Its coming from the crypto
> libs.
> 
> On Wed, Oct 5, 2011 at 11:50 AM, Douglas Huff <dhuff@jrbobdobbs.org> wrote:
>> Bad update. Macports has a couple of boost packages. Install the newer 1.46
>> ones.
>> 
>> --
>> Douglas Huff
>> 
>> On Oct 5, 2011 1:43 PM, "Gavin Andresen" <gavinandresen@gmail.com> wrote:
>>> I updated src/makefile.osx and doc/build-osx.txt today, assuming that
>>> the MacPorts versions of dependencies will be used and the -mt boost
>>> libraries will be used.
>>> 
>>> I also modified makefile.unix and makefile.osx to auto-build
>>> dependencies using gcc's -MMD option.
>>> 
>>> --
>>> --
>>> Gavin Andresen
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure contains a
>>> definitive record of customers, application performance, security
>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>> sense of it. Business sense. IT sense. Common sense.
>>> http://p.sf.net/sfu/splunk-d2dcopy1
>>> _______________________________________________
>>> Bitcoin-development mailing list
>>> Bitcoin-development@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>> 
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy1
>> _______________________________________________
>> Bitcoin-development mailing list
>> Bitcoin-development@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>> 
>> 
> 
> 
> 
> -- 
> Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development


[-- Attachment #2: Type: text/html, Size: 8439 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-06 23:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-04 23:40 [Bitcoin-development] Mac libboost_thread or thread-mt? Brian McQueen
2011-10-05  5:35 ` Michael Grønager
2011-10-05 14:37 ` Matt Corallo
2011-10-05 18:42   ` Gavin Andresen
2011-10-05 18:50     ` Douglas Huff
2011-10-06 22:18       ` Brian McQueen
2011-10-06 23:35         ` Eric Mockensturm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox