Newlib + Mingw32 + No cross compile

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Thu Feb 4 16:09:00 GMT 2010


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



More information about the Newlib mailing list