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: <43097F2A.5D4AAEDC@dessent.net> Date: Mon, 22 Aug 2005 00:30:50 -0700 From: Brian Dessent 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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. > /usr/src/binutils-20050610-1/binutils/ar.c:143: undefined reference to > `_yyparse' Are you missing bison? > 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? 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/