[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: powerpc crosstools for Windows built with MinGW?



Hi Simon,

Thanks for the reply!

On Thu, 23 Sep 2010 17:30:33 +0200
Simon Richter <sjr@debian.org> wrote:

> Hi,
> 
> On Thu, Sep 23, 2010 at 06:23:43PM +0400, Sergei Poselenov wrote:
> 
> > Is it possible to build the Windows-based GCC powerpc cross-compiler
> > using MinGW cross-build environment based on Debian Linux?
> 
> No, the system actually running gcc must be somewhat Unix compatible.
> While the GNU toolchain is written in a very portable way, things like
> e.g. file depend on the POSIX facilities ("open", "close" etc. rather
> than "CreateFile").
> 

So, do you mean the MinGW for Unix provides only the instrumentation to
build for the Windows platform, it doesn't provide a layer to translate
POSIX API to Windows API, right?

The application intended to run on Windows should use the Windows API,
instead of POSIX?

Regards,
Sergei

> Your basic options here are Cygwin and Microsoft's "Services for
> Unix". Using Cygwin will probably give you results faster, as SFU has
> a number of interesting warts, but SFU can provide a case-sensitive
> filesystem, which is required to compile a Linux kernel
> (net/netfilter/xt_tcpmss.c vs net/netfilter/xt_TCPMSS.c for example).
> 
>    Simon


Reply to: