delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/13/03:36:05

X-Spam-Check-By: sourceware.org
Message-ID: <1d9535c10612130035r58e93bacsfa8fb3bf15d1f60@mail.gmail.com>
Date: Wed, 13 Dec 2006 09:35:49 +0100
From: "Domen Vrankar" <domen DOT vrankar AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: building a cross compiler for linux
In-Reply-To: <022601c71dfb$8bcaa9a0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
References: <1d9535c10612120154jc775b1ajbc818c41d7f0ab5d AT mail DOT gmail DOT com> <022601c71dfb$8bcaa9a0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

>   But you don't mean to cross-compile: you mean to natively compile something
> that just happens to be a cross-compiler itself.
>
>   So you should be using --target instead of --host.
>
>
>     cheers,
>       DaveK

I think I wrote the question wrong. I want to build Linux->Cygwin
cross compiler that runs on Linux.

I use --target=i686-pc-cygwin --host=i686-pc-linux as output files
should be made for cygwin and host machine is a Linux machine.

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