On 11/20/2011 02:30, Thomas Stover wrote:
> On CentOS 4.9 (only thing I have been able to install on this "near
> dumpster dive grade" itanium 2), I thought I would try to build mingw-w64
> cross compiler in /opt/crosscompilers/mingw64.
> 
> -using the guide on the wiki
> (http://sourceforge.net/apps/trac/mingw-w64/wiki/Cross%20Win32%20and%20Win64%20compiler)
> 
> -did a download of binutils-2.20.1 instead of svn; used the multilib
> configure/make/make install as described in the wiki (it worked after I
> installed texinfo)
> 
> -updated my $PATH; looks like it is working
> $ x86_64-w64-mingw32-as --version
> GNU assembler (GNU Binutils) 2.20.1.20100303
> Copyright 2009 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `x86_64-w64-mingw32'.
> 
> -Now trying to get the header set to build
> 

Its best to download the latest binutils from CVS head, though your
issue isn't actually related to binutils.

> [thomas@centos49ia64 src]$ svn info
> Path: .
> URL: https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64
> Repository UUID: 4407c894-4637-0410-b4f5-ada5f102cad1
> Revision: 4620
> Node Kind: directory
> Schedule: normal
> Last Changed Author: sezero
> Last Changed Rev: 4620
> Last Changed Date: 2011-11-17 03:55:40 -0600 (Thu, 17 Nov 2011)
> [thomas@centos49ia64 src]$ cd ..
> [thomas@centos49ia64 src]$ cd build/mingw-w64/
> [thomas@centos49ia64 mingw-w64]$ ../../mingw-w64/stable/v2.x/configure
> --build=ia64-pc-linux-gnu --host=x86_64-w64-mingw32
> --prefix=/opt/crosscompilers/mingw64/ 
> ...
> checking _mingw_mac.h usability... no
> checking _mingw_mac.h presence... no
> checking for _mingw_mac.h... no
> configure: error: Please check if the mingw-w64 header set and the
> build/host option are set properly.
> configure: error: ../../../mingw-w64/stable/v2.x/mingw-w64-crt/configure
> failed for mingw-w64-crt
> 
> I also tried without the --build, and several variation there of (this
> part make the least sense).
> 
> Any ideas? I also tried creating the symlinks first.
> 
> 

For now, you need to install the headers first, build 1st stage gcc, and
then build CRT.

There is also an automated makefile for completing the build, but it is
in need of updating to match the changes in newer gcc versions.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to