One will compile the pthread lib into your binary, one will reference it. I
don't remember which, but just look at the disk space size.
Now that I think about it I think a -s compiles it in and a -l specifies to
explicitly call ld
On Jan 25, 2014 2:01 PM, "Sanjay Giri" <sanjay...@gmail.com> wrote:

> does anyone know the difference between linking with -pthread and
> -lpthread. Both seem to work so i am wondering if these are two different
> libraries or the same?
>
>
> On Sat, Jan 18, 2014 at 6:02 PM, Robert LeBlanc <rob...@leblancnet.us>wrote:
>
>> >
>>
>>
>>  The *nixes are just so ubiquitous and reliable it just doesn't generate
>> much special interest.
>>
>> I am thinking about building a web server on Raspberry Pi with Raspbian
>> OS as a little home project.  Has anyone done that yet?
>>
>> No, but I've been working an a little project to put a Mythtv Frontend on
>> one to replace my cable boxes. Mythtv is too heavy for Pi, but I've gotten
>> XBMC to run pretty well. Now if I can figure out a way to get Comcast to
>> stop setting the Copy-Once bit on all their digital content, I'll have it
>> made. Anyone else willing to petition our representatives and the FCC?
>>
>> Robert
>>
>> --------------------
>> BYU Unix Users Group
>> http://uug.byu.edu/
>>
>> The opinions expressed in this message are the responsibility of their
>> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
>> ___________________________________________________________________
>> List Info (unsubscribe here):
>> http://uug.byu.edu/mailman/listinfo/uug-list
>>
>
>
> --------------------
> BYU Unix Users Group
> http://uug.byu.edu/
>
> The opinions expressed in this message are the responsibility of their
> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
> ___________________________________________________________________
> List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
>
--------------------
BYU Unix Users Group
http://uug.byu.edu/

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to