Re: Compiling Linux based C source code on and for Windows



On 2005-07-07, yashgadhiya@xxxxxxxxx <yashgadhiya@xxxxxxxxx> wrote:
> Hello Everybody,
>

C programs on Windows are typically compiled using Microsoft's
"Visual Studio" product, but they can also be compiled using
Cygwin, the port of most of the Linux API and many of its
utilities to Windows. There are also cross-compilers for the
Pocket PC that run on Linux, and compilers that run directly
on the Pocket PC.

The official Microsoft solution for compiling C programs for the
Pocket PC is the "Windows CE Toolkit for Visual C++." The Toolkit
is an add-on to Visual C++ 6 Professional or Enterprise Edition,
and costs about $180 on amazon.com. I did not look for or find a
version of this toolkit that adds onto Visual Studio .NET:

http://www.amazon.com/exec/obidos/tg/detail/-/B00002SAOU

Alternately, there is a GCC cross-compiler available for Windows
CE on the SH processor:

http://www.duch.cz/gnuce/

The compiler runs on Linux/386.

There is also a version of GCC that runs natively on Pocket PCs that
have ARM processors:

http://mamaich.kasone.com/fr_pocket.htm

Also, Debian has a Pocket PC cross-compiler, but the description on the
download page doesn't say which processors are supported:

http://packages.debian.org/testing/devel/pocketpc-gcc

For MIPS-based Pocket PCs, there is a compiler called MipsViLcc. It
incorporates the "vi" editor as part of its IDE. It runs natively
on the Pocket PC:

http://www.pocketgear.com/software_detail.asp?id=6152

.



Relevant Pages

  • Re: Difference between VC++ and UNIX
    ... It uses whatever compiler you have, in whatever language you like. ... like edit Lisp or integrate 3rd party compilers into Visual Studio. ... Windows, HP-UX, and Linux. ...
    (comp.programming)
  • Re: hmm..interesting
    ... work out at more power per Watt than x86. ... mainstream (many netbooks and smartphones run Linux instead of Windows ... the fact that Visual Studio allows you to get away with fairly sloppy ... difficult to find a C compiler that *doesn't* have vendor-specific ...
    (comp.sys.acorn.hardware)
  • Re: Difference between VC++ and UNIX
    ... It uses whatever compiler you have, in whatever language you like. ... like edit Lisp or integrate 3rd party compilers into Visual Studio. ... Windows, HP-UX, and Linux. ...
    (comp.programming)
  • Re: hmm..interesting
    ... I used to be a professional software developer on both Unix/Linux (all ... flavours) and Windows (writing CFD and Valve-train dynamics software, ... the fact that Visual Studio allows you to get away with fairly sloppy ... difficult to find a C compiler that *doesn't* have vendor-specific ...
    (comp.sys.acorn.hardware)
  • Re: Win DDK 3790 cannot compile with VS 6.0, but linking error with VS. NET
    ... >> compiler and tools for driver development. ... >in MSDN with an article titled New in the DDK for Windows XP: ... >building Windows XP or Windows 2000 drivers using a version of Microsoft ... >It's unfortunate that Microsoft no longer allow you to use Visual Studio ...
    (microsoft.public.development.device.drivers)