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

Re: powerpc crosstools for Windows built with MinGW?


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").

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).


Reply to: