From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10758 invoked by alias); 30 May 2005 19:53:22 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 10732 invoked by uid 22791); 30 May 2005 19:53:19 -0000 Received: from 217.84.31.18.tn.glocalnet.net (HELO mulder.hem.za.org) (84.217.31.18) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 30 May 2005 19:53:19 +0000 Received: from skinner.hem.za.org ([fec0::202:44ff:fe1d:d021]) by mulder.hem.za.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1DcqKA-0003BG-G1; Mon, 30 May 2005 21:53:22 +0200 Received: from localhost ([127.0.0.1]) by skinner.hem.za.org with esmtp (Exim 4.50) id 1DcqK6-0003ZN-Jw; Mon, 30 May 2005 21:53:18 +0200 Message-ID: <429B6F2E.1000906@glocalnet.net> Date: Mon, 30 May 2005 19:53:00 -0000 From: Mikael Magnusson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 MIME-Version: 1.0 To: pthreads-win32@sources.redhat.com Subject: Re: [PATCH] Cross-compiling with mingw32 References: <20050523232245.GA25164@skinner.hem.za.org> <1117094471.19617.6.camel@desk.home> In-Reply-To: <1117094471.19617.6.camel@desk.home> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005/txt/msg00103.txt.bz2 Ross Johnson wrote: > On Tue, 2005-05-24 at 01:22 +0200, Mikael Magnusson wrote: > >>Hi, >> >>I'm posting a patch that I use to cross-compile with mingw32 on Linux. >>It uses macros instead of referencing dlltool, gcc and g++ directly. I have >>added a call to ranlib, which was needed. I also had to remove INLINE from >>ptw32_relmillisecs, to link the GCE library. > > > Thanks for the lead. This is very convenient. I've installed the cross- > tools and can build the library. > > What was the problem with the INLINE in ptw32_relmillisecs()? Seems to > build ok using the cross-tools and passes the test suite in Windows. Why > only this routine? > I thought there was a problem, but I obviously were incorrect, since when I tried building the library again without modifying ptw32_relmillisecs, there was no problem. /Mikael Magnusson