From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 22:50:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA3CE16A4BF for ; Tue, 19 Aug 2003 22:50:56 -0700 (PDT) Received: from spam1.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 6120D43F3F for ; Tue, 19 Aug 2003 22:50:53 -0700 (PDT) (envelope-from lahaye@snu.ac.kr) Received: (snipe 8831 invoked by alias); 20 Aug 2003 06:12:26 -0000 Received: from lahaye@snu.ac.kr with Spamsniper2.0 (Processed in 0.056532 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 20 Aug 2003 06:12:26 -0000 X-RCPTTO: freebsd-questions@freebsd.org, Received: from snu.ac.kr ([147.46.44.183]) by sis1.snu.ac.kr (8.12.9/8.12.9) with ESMTP id h7K5oN6d152802 for ; Wed, 20 Aug 2003 14:50:27 +0900 Message-ID: <3F430C36.5060306@snu.ac.kr> Date: Wed, 20 Aug 2003 14:50:46 +0900 From: Rob Lahaye Organization: Seoul National University - South Korea User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030726 X-Accept-Language: en-us, ko-kr MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Qt compiled from ports: inconvenient default to threaded libs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 05:50:57 -0000 Hi, I have compiled qt-3.1.2_1 from ports "as is". It appears that FreeBSD defaults to creating the threaded libraries, which confuses certain configure scripts. Problem is that configure scripts of some software needs tweeking: add -DTHEAD_SAFE, replace "-lc" by "-lc_r", etc. (main reason is that compilation with threading is so much different on FreeBSD than this is, for example, on Linux) However, life would be much easier if either Qt ports build creates both, threaded and unthreaded libs or The Qt ports build allows creating only the unthreaded libs. Is there any good reason why the threaded libs are choosen to be the default, without offering easy MAKE options to change this behaviour? Regards, Rob.