From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10005 invoked by alias); 31 Mar 2009 18:13:29 -0000 Received: (qmail 9710 invoked by uid 22791); 31 Mar 2009 18:13:25 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Mar 2009 18:13:11 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2VID6Eg029725; Tue, 31 Mar 2009 14:13:06 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2VID6e6021405; Tue, 31 Mar 2009 14:13:06 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2VID2f6032444; Tue, 31 Mar 2009 14:13:04 -0400 Message-ID: <49D25D2D.8090407@redhat.com> Date: Tue, 31 Mar 2009 18:13:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Ben Pazolli CC: insight Subject: Re: Compiling on cygwin References: <6d6652520903212016s50535a40t34a94cf6bf8c0770@mail.gmail.com> <49CABC7D.1050702@redhat.com> <6d6652520903260514o3b8ff517hcb7c0d8de75f09e1@mail.gmail.com> In-Reply-To: <6d6652520903260514o3b8ff517hcb7c0d8de75f09e1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00035.txt.bz2 [Add insight@ back onto CC] Ben Pazolli wrote: > Here is the output of the configure and make: > > $ ./insight-6.7.1/configure > checking build system type... i686-pc-cygwin > checking host system type... i686-pc-cygwin > checking target system type... i686-pc-cygwin [snip] > checking for bison... no > checking for byacc... no > checking for yacc... no > checking for bison... no > checking for gm4... no > checking for gnum4... no > checking for m4... no > checking for flex... no > checking for lex... no > checking for flex... no > checking for ld... (cached) c:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mi > ngw32/bin/ld.exe [snip] Okay, from this, I can tell a few things... First of all, it looks like you want to build for cygwin. However, the linker that configure grabbed was for mignw. You are also missing bison, and that is required to build (unless you've grabbed a release tarball). So may some sort of lex variant. I don't recall at the moment. If you intend to build for cygwin, you must make sure that cygwin tools are in your PATH ahead of mingw. If you are attempting to build for mingw (which I'm pretty sure will not work very well w/Insight -- it assumes windows means cygwin), you need to specify to configure that you are building for mingw (--target=i686-pc-mingw, I think). I know gdb has had some churn in it in the past year to add "native" mingw support, but I don't believe that this will work with Insight. I have never tried, though, so it might not be as bad as I am guessing. Keith