delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/29/09:22:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002701c2f5fe$6e74ec90$5510690a@jhopii400mhz>
From: "Joakim Olsson" <joakim DOT h DOT olsson AT home DOT se>
To: <cygwin AT cygwin DOT com>
References: <007801c2f4ae$e65fa570$5510690a AT jhopii400mhz> <b62gh5$l8i$1 AT main DOT gmane DOT org>
Subject: Re: Please help. gcc 3.2.2 configure problem or what?
Date: Sat, 29 Mar 2003 15:20:53 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi

----- Original Message -----
From: "Raoul Gough" <RaoulGough AT yahoo DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Sent: Friday, March 28, 2003 10:58 PM
Subject: Re: Please help. gcc 3.2.2 configure problem or what?


> "Joakim Olsson" <joakim DOT h DOT olsson AT home DOT se> wrote in message
> news:007801c2f4ae$e65fa570$5510690a AT jhopii400mhz...
> > Hi
> >
> > I've tried to configure and build gcc 3.2.2 under cygwin.
> >
> > the compiler builds fine but then the problem starts:
> >
> > I've tried to build fltk-1.1.3 (a gui toolkit) when I saw the
> problem.
> >
> > It seems that there are several unresolved in my new gcc.
> > I looked around and found the actual symbols in libgcc.a in the old
> gcc that
> > came with cygwin.
> >
> > What have I done wrong?

<snip>

>
> Looks like your link command is mixing libraries from different
> versions of the compiler (why would i686-pc-cygwin gcc be looking in
> /usr/lib/mingw - maybe you're using -mno-cygwin and need a newer mingw
> library?). How about posting the output from your failing link command
> with a -v option to list the exact commands that gcc is issuing during
> the link process. Having multiple versions of the compiler installed
> can be a bit treacherous, and -v will show you exactly what it's doing
> and where it's looking.

Well I guess I messed things up a little.
Yes I think I used the new cygwin compiler to compile and link against
mingw.


> >
<snip>
>
> Are you attempting to use the cygwin compiler to build a mingw
> compiler? This is a cross-compile and I seem to remember it was pretty
> hard to get it working this way. I found it much easier to use a
> native mingw compiler to build gcc 3.2 mingw - from my experience the
> most important thing is to ensure you know what compiler is being used
> during the build process. I just renamed all the cygwin compiler
> binaries to prevent the wrong versions being accessible during the
> build.

Yes, I didn't think it was a cross-compile.



Thanks for your hints.

I'm going to give it a try again to build a new cygwin or mingw-compiler in
a day or two.


All I wanna do is to have one compiler "gcc" that at least can compile and
link programs written in C, C++, Ada and also have a gui.

So if you still think you could give hints feel free, but now I have
something I can try.


best regards
/Joakim Olsson
SWEDEN


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019