This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Newlib + Mingw32 + No cross compile
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: newlib at sourceware dot org, Miguel Lopes <carlos dot m dot lopes at criticalsoftware dot com>
- Date: Thu, 4 Feb 2010 11:08:59 -0500
- Subject: Re: Newlib + Mingw32 + No cross compile
- References: <!&!AAAAAAAAAAAYAAAAAAAAANOcm8JlTdVIkU2bWWXnNqfCjwAAEAAAAEwPHaMTBIVHlPDIRW1iftwBAAAAAA==@criticalsoftware.com>
On Thu, Feb 04, 2010 at 12:28:50PM -0000, Miguel Lopes wrote:
>
>Hi All,
>
>I need to compile the Newlib targeting Win32/i386 environment.
>
>Basically, I do not want to cross compile, just compile Newlib targeting my
>build environment (Mingw32, Windows XP and i386)
>
>I've read several articles, but all of them talk about cross compiling, etc.
>I just want to build Newlib for my machine architecture, os, etc.
>
>I've tried several -target=XXXX combinations, but all attempts result in two
>scenarios:
>
>1) Only the documentation is built;
>2) The compilation process fails, due to a missing compiler (related with
>the target setting)
>
>Also tried with Cygwin and the results are the same.
>
>Is it possible?
AFAIK, newlib doesn't support a pure win32 target. On Windows it's only
meant to be used with Cygwin.
cgf