From MAILER-DAEMON Sun Mar 21 12:03:06 2010
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1NtNcI-0007VO-L5
	for mharc-bug-ghostscript@gnu.org; Sun, 21 Mar 2010 12:03:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NtGjp-0008G0-W5
	for bug-ghostscript@gnu.org; Sun, 21 Mar 2010 04:42:26 -0400
Received: from [140.186.70.92] (port=54332 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NtGjn-0008EJ-Pq
	for bug-ghostscript@gnu.org; Sun, 21 Mar 2010 04:42:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <florent.teichteil@gmail.com>) id 1NtGjm-0003AL-L9
	for bug-ghostscript@gnu.org; Sun, 21 Mar 2010 04:42:23 -0400
Received: from mail-ew0-f216.google.com ([209.85.219.216]:62975)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <florent.teichteil@gmail.com>) id 1NtGjm-0003AH-Gd
	for bug-ghostscript@gnu.org; Sun, 21 Mar 2010 04:42:22 -0400
Received: by ewy8 with SMTP id 8so316104ewy.8
	for <bug-ghostscript@gnu.org>; Sun, 21 Mar 2010 01:42:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:reply-to:date:received
	:message-id:subject:from:to:content-type;
	bh=Eqkad78rh8PsQMtkCFFFvqvpQInanK2ci3nXDKVznMI=;
	b=FNceFFQAdqi3KlzuKP19xce2ohHfCLxRI6JjvCm4CYxWLTAAiJy/u2dYk8zs3qZOGQ
	0GjVf3oEKChELgGDRDMSVTF/GbEIkG4twnO5Q4/DLDVqKihRJ3slmSTHOD5TJamGYBzF
	p+Tca3Lu4PD0vFt8XrHlWzTyMVHblhjUGDBqY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:reply-to:date:message-id:subject:from:to:content-type;
	b=CTR0t1qQp+KULgrb/HyTaRgX/TJBdMhke9FCQQ1n1WZp0a9VuMphz1j/m5Qd4uQ7lM
	ODJv+SyoXq6cT2Inmot92I9nWcPW/aGqEi1cIwblkWamdDRmpPLfhEmhPCPqyWRBgsqU
	ZT8tVoXjUJj7OFxg1I+HOG8ns2H0dbsdHfzPs=
MIME-Version: 1.0
Received: by 10.213.16.139 with HTTP; Sun, 21 Mar 2010 01:42:21 -0700 (PDT)
Date: Sun, 21 Mar 2010 09:42:21 +0100
Received: by 10.213.67.129 with SMTP id r1mr298427ebi.83.1269160941526; Sun, 
	21 Mar 2010 01:42:21 -0700 (PDT)
Message-ID: <43c48b361003210142n31e4d1d0yaf7306568d71092a@mail.gmail.com>
From: Florent Teichteil <florent.teichteil@gmail.com>
To: bug-ghostscript@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Mailman-Approved-At: Sun, 21 Mar 2010 12:03:03 -0400
Subject: Compiling libgs.a under MS Windows
X-BeenThere: bug-ghostscript@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: florent.teichteil@gmail.com
List-Id: "Bug reports and development for GNU GhostScript,
	the PostScript interpreter of the GNU project"
	<bug-ghostscript.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-ghostscript>
List-Post: <mailto:bug-ghostscript@gnu.org>
List-Help: <mailto:bug-ghostscript-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-ghostscript>,
	<mailto:bug-ghostscript-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2010 08:42:26 -0000

Hi,

I'd like to port some Unix libraries, that depend on libgs.a, on MS
Windows. So, I ran ghostscript's configure script under MSYS with
MinGW's compiler with the options "--disable-shared --enable-static".
Configuration runs fine, but the build process returns many errors in
various files.

Therefore, I am wondering how I could build libgs as a static library
under MS Windows. Notice that I don't have MSVC++ or some equivalent
proprietary tools. I mean, it would be great to be able to build
ghostscript on MS Windows with only free tools, but I am not sure it
is even possible, isn't it?

Thanks in advance for your help,
Florent

ps : I tried fist to cross-compile ghostscript from Unix, but it is
even harder because configuration executables like echogs are built
for the target platform, not for the build platform (which is perhaps
- at least in my mind - a bug in autoconf files)



