delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/30/02:34:33

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
To: cygwin AT cygwin DOT com
Subject: Re: Building cross compiler Linux host -> Cygwin target
From: Massimiliano Mirra <mmirra AT libero DOT it>
References: <87smt6tqgy DOT fsf AT prism DOT localnet> <m3wuii2civ DOT fsf AT telia DOT com>
Date: Sun, 30 Mar 2003 09:33:48 +0200
In-Reply-To: <m3wuii2civ.fsf@telia.com> (Andrew Markebo's message of "Sat,
29 Mar 2003 20:33:44 +0100")
Message-ID: <87brztux43.fsf@prism.localnet>
User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2
MIME-Version: 1.0

Andrew Markebo <andrew DOT markebo AT telia DOT com> writes:

> Saw recently (yesterday?) one person posting what he did.. you should
> be able to find the article in the archive.. ahh subject "Please
> help. gcc 3.2.2 configure problem or what?"

Yes, saw it, but it deals with CVS version.  I started to check it out
but even at -z9 after a while my 33.6k connection began to yell
obscenities.

> |     $ i686-pc-cygwin-gcc hello.c
> |     /home/bard/workspace/cygwin//bin/../lib/gcc-lib/i686-pc-cygwin/
> |     2.95.3-10/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
> |     collect2: ld returned 1 exit status
>
> Is the libuser32.lib library really in the gcc source? ahh nope it is
> delivered in the package "w32api"! Maybe can grab that from a already
> existing cygwin installation, or download the source and compile.

I suppose it's about time for me to feel silly, very silly.

Thanks a lot Andrew, you saved that part of my sanity that two days
(and nights) of configure/make had almost blown out.

> || Does anybody have an idea about what is going wrong in building
> | libiberty.a?  I found messages about libiberty.a in the
>
> It seemed as it wasn't needed, if you do make -k it will hopefully
> chew on.

make -k all results in:

checking whether the C compiler (/home/bard/workspace/cygwin/src/
 gcc2-2.95.3-10/build/gcc/xgcc -B/home/bard/workspace/cygwin/src/
 gcc2-2.95.3-10/build/gcc/ -B/home/bard/workspace/cygwin/
i686-pc-cygwin/bin/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler 
 cannot create executables.
make: Target `all' not remade because of errors.

However `make all-gcc && make install-gcc' works and produces the
cross compiler, so I don't really know what else it's trying to build
(and probably don't need to care).

I'll repost the script and put it somewhere online, I guess I won't be
the only one who bangs his head against this.



--
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