delorie.com/archives/browse.cgi | search |
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 |
Reply-To: | <mike_hayden AT quintum DOT com> |
From: | "Mike Hayden" <mike_hayden AT quintum DOT com> |
To: | "Cygwin" <cygwin AT cygwin DOT com> |
Subject: | GCC problem |
Date: | Thu, 21 Mar 2002 08:01:57 -0500 |
Message-ID: | <HCEFIBLLEKCFOAKJMDCBKEANCEAA.mike_hayden@quintum.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
Importance: | Normal |
I have installed the cygwin package (1.3.10) on my Win2k machine. My goal is to build a GCC cross-compiler for a PowerPC target. The problem I have is rebuilding the GNU tools. When I start with the binutils via the configure script I get the following error: Configuring for a i686-pc-cygwin host. Created "Makefile" in /tmp/build/binutils using "mh-frag" /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status *** The command 'gcc -o conftest -g -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. I also tried to compile a simple "Hello world" program to verify if the problem was only with the configure or some overall gcc problem. I got a similar error: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status I have read the mailing list and noted that many people have had the same problem. In most all of those cases the advice was to reinstall cygwin and make sure the w32api package was downloaded and installed. I have done this 2x, first I hand picked the packages and tried it and second I downloaded and installed ALL and tried it. It did not work in either case. Any advice would be appreciated. Thanks in advance, MH -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |