delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/01/09:30:20

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Cygwin problem with cross compiler
Date: Wed, 1 Mar 2006 14:30:03 -0000
Message-ID: <02df01c63d3c$a0cfc1a0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
In-Reply-To: <20060301142656.19351.qmail@web36115.mail.mud.yahoo.com>
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 01 March 2006 14:27, Basavaraj Hiremath wrote:

> Hi,
> I am not able to compile "Hello World" program
> using this compiler in CygWin Environment, but I am
> able to compile in Redhat linux enviromnet.
> 
> "arm-wince-pe-gcc foo.c" -> does't
> work(/usr/local/wince/cross-tools/bin/arm-wince-pe-gcc:
> /usr/local/wince/cross-tools/
> bin/arm-wince-pe-gcc: cannot execute binary file)
> 
> Even if I type
>> arm-wince-pe-gcc --v, it give cannot execute binary file.
> 
> am I missing any packages from cygwin?


  Cygwin doesn't actually let you run Linux executable binaries on windows
directly, you have to recompile them from source code - cygwin's job is to
make that step easy by providing all the headers and libs and function calls
that Linux executables need to have provided in order to compile.


    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