delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/14/12:29:45

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>, <cygwin-xfree AT cygwin DOT com>
Subject: RE: Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?
Date: Fri, 14 Jul 2006 17:29:27 +0100
Message-ID: <00ca01c6a762$ad0c5ce0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <44B7B66F.7020901@knaff.lu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 14 July 2006 16:21, Alain Knaff wrote:


> I'm trying to build a Cygwin cross compiler (i.e. a compiler that runs
> on Linux but generates binaries that run on Cygwin)
> For this, I tried to follow the instructions at
> http://x.cygwin.com/docs/cg/prog-build-cross.html
> 
> However, these seem to be obsolete.
> 
> Indeed, on my Fedora Core 5, I get the following error when attempting
> to configure gcc:

> Copying no to /home/aknaff/cygwin/i686-pc-cygwin/sys-include
> /tmp/cNf677/cNf677.tgt: line 821: cd: no: No such file or directory
> Created "Makefile" in /home/aknaff/cygwin/src/gcc-3.3.1/build
> /tmp/ccvcwlyc.s: Assembler messages:
> /tmp/ccvcwlyc.s:5: Warning: .type pseudo-op used outside of .def/.endef
> ignored.
> /tmp/ccvcwlyc.s:5: Error: junk at end of line, first unrecognized
> character is `m'
> /tmp/ccvcwlyc.s:18: Warning: .size pseudo-op used outside of .def/.endef
> ignored.
> /tmp/ccvcwlyc.s:18: Error: junk at end of line, first unrecognized
> character is `m'
> /tmp/ccvcwlyc.s:20: Error: junk at end of line, first unrecognized
> character is `-'
> *** The command 'gcc -o conftest -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.


  My guess is you'd have forgotten step 9, and so it can't find the
cross-binutils, and ends up attempting to use your native compiler, which is
getting confused.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019