OT: how to port c++ to Windoze
Roger Oberholtzer
roger at opq.se
Fri Jul 31 07:33:43 PDT 2009
On Thu, 2009-07-30 at 08:32 -0700, Kevin O'Gorman wrote:
> I've got a text-mode (non-GUI) C++ project that I'd like to port to
> W******. I know this is OT for this list, but I'm hoping somebody
> here has faced the same problem and can recommend FOSS tools to use on
> the target system. Most of what I'm seeing on a search query is
> solutions that date from 2005, and I'd like to be reasonably current.
You do not tell where you are porting from. Does it currently compile on
Linux? With gnu c++? If so, I would use the gnu compiler for the
Windows. I run gcc/g++ (MinGW) and all as a cross compiler on Linux to
make Windows DLL and EXE doodads. It works great. You can also get MinGW
to run on Windows and compile there. There is n Windows installer for
this on the MinGW site. My preference is the cross compiler. This way I
get Linux (ix86, ppc, arm variants) and Windows all compiled from Linux
Makefiles.
--
Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696
More information about the Linux-users
mailing list