From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23624 invoked by alias); 3 Apr 2002 11:13:56 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 23617 invoked from network); 3 Apr 2002 11:13:54 -0000 Received: from unknown (HELO web14405.mail.yahoo.com) (216.136.174.62) by sources.redhat.com with SMTP; 3 Apr 2002 11:13:54 -0000 Message-ID: <20020403111354.7519.qmail@web14405.mail.yahoo.com> Received: from [12.234.138.227] by web14405.mail.yahoo.com via HTTP; Wed, 03 Apr 2002 03:13:54 PST Date: Wed, 03 Apr 2002 03:13:00 -0000 From: Long Li Subject: enable/disable threads when installing gcc To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00018.txt.bz2 Hi, Guys, I have just installed GCC 3.0 on my redhat 7.2 Linux machine. During the configuration of GCC, I found the option --enable-threads was turned off, which means, I guess, the GCC 3.0 on my machine does not support thread. However, when I include the pthread.h file and use the GCC 3.0 to compile, it worked and the result showed me some threads switching cases. So what does the --enable-threads option do? Does it really turn off the thread or just a default case, and you can overwrite it when compling? Thanks a lot! Long __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/