From owner-freebsd-questions Thu Jan 11 11:45:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Athena.webmagix.net (athena.webmagix.net [212.189.235.2]) by hub.freebsd.org (Postfix) with ESMTP id 0EACD37B400 for ; Thu, 11 Jan 2001 11:45:06 -0800 (PST) Received: from ns (c106231.upc-c.chello.nl [212.187.106.231]) by Athena.webmagix.net (8.10.1/8.10.1) with SMTP id f0BJino02827; Thu, 11 Jan 2001 20:44:49 +0100 From: "Rick Jansen" To: , Subject: How to compile MySQL using LinuxThreads on FreeBSD Date: Thu, 11 Jan 2001 20:48:21 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I just installed LinuxThreads on my server, to use with MySQL to get maximun performance from my dual CPU setup. The README.FreeBSD file tells me to compile applications with the following line: -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -llthread -llgcc_r But where should i put this line? In the Makefile? In all the Makefiles in the mysql source directory? I tried this once before, but i just couldn't get it to compile correctly, it kept segfaulting when i tread to run the daemon. Thanks in advance, Rick Jansen ****************************************** Server Administrator [Linux - FreeBSD] Websites: www.shellz.nl www.tweakers.net ICQ#: 3716519 E-mail: Rick@Tweakers.net, Rick@ShellZ.nl ****************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message