From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay01.ispgateway.de ([80.67.31.28]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WcYQp-0002e2-U9 for ptxdist@pengutronix.de; Tue, 22 Apr 2014 13:00:12 +0200 Received: from [84.169.222.217] (helo=euler.fritz.box) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1WcYQn-0003Zg-Hl for ptxdist@pengutronix.de; Tue, 22 Apr 2014 13:00:05 +0200 Date: Tue, 22 Apr 2014 13:00:09 +0200 From: Bernhard Walle Message-ID: <20140422110009.GA87404@euler.fritz.box> References: <1CFDA15477ACF741AAF78FA447550B7A028DF331@swexchange01.itk.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1CFDA15477ACF741AAF78FA447550B7A028DF331@swexchange01.itk.local> Subject: Re: [ptxdist] how to configure perl scripting to compile with thread support? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de * Martin Hollingsworth [2014-04-22 10:49]: > > This is where I stumble in adding the correct calling parameter into the rules file. > The parameter I am looking for is described in the PERL documentation: > http://search.cpan.org/~shay/perl/INSTALL#Threads Just copy /usr/local/lib/ptxdist-/rules/perl.make to your BSP (create the rules directory if it doesn't exist yet) and make following modification: Add '-Dusethreads' to PERL_CONF_OPT. I'll send a patch to make this configurable. At least the configure output looks like Perl is build with threads after that modification. I didn't test on a target (or QEMU), though. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de