public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Ben Pazolli <bpazolli@gmail.com>
Cc: insight <insight@sourceware.org>
Subject: Re: Compiling on cygwin
Date: Tue, 31 Mar 2009 18:13:00 -0000	[thread overview]
Message-ID: <49D25D2D.8090407@redhat.com> (raw)
In-Reply-To: <6d6652520903260514o3b8ff517hcb7c0d8de75f09e1@mail.gmail.com>

[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

  parent reply	other threads:[~2009-03-31 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22  3:16 Ben Pazolli
2009-03-25 23:21 ` Keith Seitz
     [not found]   ` <6d6652520903260514o3b8ff517hcb7c0d8de75f09e1@mail.gmail.com>
2009-03-31 18:13     ` Keith Seitz [this message]
2009-04-01 15:11       ` Spencer Oliver
2009-04-01 15:15         ` Keith Seitz
2009-06-10 16:09         ` Gene Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49D25D2D.8090407@redhat.com \
    --to=keiths@redhat.com \
    --cc=bpazolli@gmail.com \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).