X-Spam-Check-By: sourceware.org Message-ID: <20060301154704.66258.qmail@web36113.mail.mud.yahoo.com> Date: Wed, 1 Mar 2006 07:47:04 -0800 (PST) From: Basavaraj Hiremath Subject: RE: Cygwin problem with cross compiler To: Dave Korn , cygwin AT cygwin DOT com In-Reply-To: <02df01c63d3c$a0cfc1a0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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, Where can I get gcc source code, I want to cross compile it for Wince/ARM and related tools as well. Thanks in advance. Raj --- Dave Korn wrote: > 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/ > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/