X-Spam-Check-By: sourceware.org Message-ID: <1d9535c10612120154jc775b1ajbc818c41d7f0ab5d@mail.gmail.com> Date: Tue, 12 Dec 2006 10:54:47 +0100 From: "Domen Vrankar" To: cygwin AT cygwin DOT com Subject: building a cross compiler for linux MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 I'm using this tutorila: http://x.cygwin.com/docs/cg/prog-build-cross.html for building a cygwin cross compiler for linux. I built binutils sucessfully but when trying to build gcc I get: configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. This happens even though I use --host=i686-pc-linux. Has annyone an idea why this is happening? I'm using Debian etch, server with two 32 bit pentium processors r. Domen -- 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/