X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: building a cross compiler for linux
Date: Wed, 13 Dec 2006 10:48:00 -0000
Message-ID: <00a701c71ea4$29974dc0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <1d9535c10612130050i44eb070cl9f93599769b1be75@mail.gmail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 13 December 2006 08:51, Domen Vrankar wrote:

> I think I wrote what I want to do the wrong way.
> 
> I want to build a cross compiler on linux that would output Cygwin
> executables ( Linux host -> Cygwin target).

  Ah, ok, understood.  This is known to be possible.

> I downloaded w32api-3.8-1-src.tar.bz2 package but now I don't know
> what to do with it.
> 
> Anny suggestions?

  Discard it.  Get the binary tarball instead.  It contains the headers and
libs needed for the cross-compiler.  Untar it somewhere and use the unpacked
tree as your sysroot.

  Any generic crosstool-related rather than specifically cygwin-related
problems, you'll most likely get better advice on the crossgcc list, but I
appreciate it might not be clear where the source of a problem lies in
general.


    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/

