delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/14/11:23:56

X-Spam-Check-By: sourceware.org
Message-ID: <44B7B66F.7020901@knaff.lu>
Date: Fri, 14 Jul 2006 17:21:19 +0200
From: Alain Knaff <alain AT knaff DOT lu>
User-Agent: Thunderbird 1.5 (X11/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com
Subject: Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hi,

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:

*** This configuration is not supported in the following subdirectories:
      target-libffi target-boehm-gc target-zlib target-libjava 
target-libf2c zlib fastjar target-libobjc
     (Any other directories should still work fine.)
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.



Is there any more up-to-date version of these instructions online?

Or, even better, some pre-made RPMs of a cygwin crosscompiler?

Thanks,

Alain

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