Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <43098537.3090808@fastcom-technology.com> Date: Mon, 22 Aug 2005 09:56:39 +0200 From: Alain Paschoud Reply-To: paschoud AT fastcom-technology DOT com User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Building a cygwin->linux cross-compiler problem References: <430979A2 DOT 40506 AT fastcom-technology DOT com> <43097F2A DOT 5D4AAEDC AT dessent DOT net> In-Reply-To: <43097F2A.5D4AAEDC@dessent.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0533-5, 20.08.2005), Outbound message X-Antivirus-Status: Clean X-IsSubscribed: yes Brian Dessent wrote: > Alain Paschoud wrote: > > >>For some reason, I need to compile in cygwin applications that will run >>on linux (OpenBSD to be precise). I didn't find any pre-compiled >>cross-compiler to do that (does it exist one ?), so I try to build one. >>To do so, I am following first part of next howto : > > > This isn't really a Cygwin-specific topic, and there are better places > to ask such as the crossgcc list (also hosted on sourceware). If you > want a full cross toolchain and you're targeting linux/glibc then > crosstool will definitely be what you want to use. > > >>http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows > > > ...especially if you're following someone else's directions. At start, I began on my own, without any howto, but as I couldn't get compilation working I tried to find some help. Thank for your advice, I will try crosstool, and ask further questions on crossgcc list. >>/usr/src/binutils-20050610-1/binutils/ar.c:143: undefined reference to >>`_yyparse' > > > Are you missing bison? According to the error message, this is a good question. But bison and byacc are installed... however, the configure script doesn't say clearly if bison is present or not according to its tests. >>cygwin$ export BUILD=i686-pc-cygwin >>cygwin$ export HOST=i686-pc-cygwin > > > Normally you don't need to specify these. > > >>cygwin$ export TARGET=i686-pc-linux-gnu > > > If you are targeting openbsd then why are you using this? Good question :-) I just did my latest test with them to try to understand compilation problems. But of course, I should use TARGET=i686-pc-openbsd3.7 Thanks for all. -- Alain Paschoud, Fastcom Technology, Lausanne -- 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/