Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Looking for pthreads...

Looking for pthreads...
Thread Tools
walkerbl
Guest
Status:
Reply With Quote
Oct 2, 2000, 09:23 PM
 
I'm new to porting Unix apps. I'm trying to get JThreads (www.ooc.com) to build on MacOS PB. Its trying to determine if pthread supports exists using the line

nm `gcc -print-libgcc-file-name` | grep pthread >/dev/null

This resolves to doing an nm on libgcc.a, which I can't find on the system. So a couple questions:

1) are pthreads truly supported on X?

2) is there a standard set of things that need to be done to get a unix program to compile on X?

3) where is libgcc.a?

Thanks for any help,
Brett
     
jaker22
Guest
Status:
Reply With Quote
Oct 10, 2000, 06:59 AM
 
A good idea is to use configure, which reveals that pthread indeed is supported in MacOS X. (Some macro file for configure had to be copied from Darwin first to get configure to work.)
Hope this helps...
     
Junior Member
Join Date: Apr 2000
Status: Offline
Reply With Quote
Oct 10, 2000, 03:54 PM
 
Hi,

pthreads are supported, but a few are still not completed. check out the darwin bug list. I think I saw a few calls are missing like pthread_kill().

     
tomsand
Guest
Status:
Reply With Quote
Oct 11, 2000, 03:32 PM
 
Got the same problems. The libs arenīt there. i guess it has to do with not having the Developer Tools and only having the compileer out of the Darwin pack.

- Tom
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:12 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2