[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #7071] acx_pthread should use "-pthreads" on 10.6 OS X systems

From: anonymous
Subject: [patch #7071] acx_pthread should use "-pthreads" on 10.6 OS X systems
Date: Sat, 23 Jan 2010 21:33:28 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: Gecko/20091221 Firefox/3.5.7


                 Summary: acx_pthread should use "-pthreads" on 10.6 OS X
                 Project: Autoconf Archive
            Submitted by: None
            Submitted on: Sa 23 Jan 2010 21:33:27 UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any



Hi everybody,

while compiling GNU Octave on my new Mac 10.6 system I found out that I need
to definition "-D_REENTRANT", otherwise the compilation of some files fail. A
good starting point for the discussion we had is here

Searching the www also brought me to the option "-pthreads" which sets up
linker flasg, too. A nice statement about it can be found here

one says," You investigated properly and answered your own question. Use g++
-pthread, it is equivalent to g++ -pthread -D_REENTRANT. Using g++
-D_REENTRANT would be different, it may not set all the linker flags."

Finally, my suggestion to the GNU Octave project was the patch that I've
attached to this ticket but I'm still unsure if this is the best solution.

Best regards



File Attachments:

Date: Sa 23 Jan 2010 21:33:27 UTC  Name: pthread.diff  Size: 381B   By: None



Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]