X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Roelof Berg Subject: Re: Building a cygwin->linux cross-compiler problem Date: Thu, 23 Nov 2006 15:32:52 +0000 (UTC) Lines: 34 Message-ID: References: <430979A2 DOT 40506 AT fastcom-technology DOT com> <43097F2A DOT 5D4AAEDC AT dessent DOT net> <43098537 DOT 3090808 AT fastcom-technology DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 [Alain Paschoud:] For some reason, I need to compile in cygwin applications that will run on linux (OpenBSD to be precise). [...] To do so, I am following first part of next howto: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows But when I compile the binutils (binutils-20050610-1) with gcc (gcc (GCC) 3.4.4 (cygming special)), the compilation stops, complaining that _main is twice defined... and that _yyparse can't be linked. [...] [Brian Dessent:] Are you missing bison? [Alain Paschoud:] 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. [Roelof Berg:] Hi, I had the same compiler error output. After I installed bison and byacc binaries using cygwins setup.exe everything was fine. (Be sure to clear old temorary build files after bison is installed before running a new build...). There were warning messages asking for "bison" and something like "flex" that gave me the clue what is missing exactly. If you call make a second time after the error message is shown there is less output so the missing module warnings can be seen more easily. hope it helps, thanks Brian!, Roelof -- 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/