www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <47F538F3.CAFABB19@dessent.net> |
Date: | Thu, 03 Apr 2008 13:07:15 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Compiling Cygwin on Linux |
References: | <47F1B87A DOT 3050709 AT gmail DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Robert Eckhoff wrote: > ~/build_cygwin$ export CC=i686-pc-cygwin-gcc Don't set this. Leave CC set to the host, not target, compiler. > ~/build_cygwin$ ~/cygwin-1.5.25-11/configure > --prefix=/home/rpeckhoff/boot_system/ --host=i686-pc-cygwin > --build=x86_64-unknown-linux-gnu -v When cross compiling, the configure script should find and use $target-gcc automatically. > checking for correct version of gmp.h... no > /home/rpeckhoff/boot_system/bin/../lib/gcc/i686-pc-cygwin/4.3.0/../../../../i686-pc-cygwin/bin/ld: > crt0.o: No such file: No such file or directory > collect2: ld returned 1 exit status This is a check for a *host* library that's being done with the *target* tool. Don't set CC when cross compiling. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |