X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47F1B87A.3050709@gmail.com> Date: Tue, 01 Apr 2008 00:22:18 -0400 From: Robert Eckhoff User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Compiling Cygwin on Linux Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I was wondering how one would compile cygwin-src on linux. I currently have a binutils and stage 1 gcc (a.la. "make all-gcc; make install-gcc") targeted for i686-pc-cygwin. I have tried the following ~/build_cygwin$ uname -a Linux gcc14 2.6.18-6-vserver-amd64 #1 SMP Sun Feb 10 17:55:04 UTC 2008 x86_64 GNU/Linux ~/build_cygwin$ export CC=i686-pc-cygwin-gcc ~/build_cygwin$ ~/cygwin-1.5.25-11/configure --prefix=/home/rpeckhoff/boot_system/ --host=i686-pc-cygwin --build=x86_64-unknown-linux-gnu -v I get the following: loading cache ./config.cache checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system type... x86_64-unknown-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for i686-pc-cygwin-gnatbind... no checking for gnatbind... gnatbind checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 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 *** The command 'i686-pc-cygwin-gcc -o conftest -g -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. Does anyone know what the right configure flags for cygwin configure are? crt0.o is supposed to be compiled by cygwin. Thanks in advance. ~Robert -- 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/