OT: how to port c++ to Windoze
Roger Oberholtzer
roger at opq.se
Fri Jul 31 07:36:47 PDT 2009
On Fri, 2009-07-31 at 09:18 -0500, Vu Pham wrote:
> On 07/31/2009 08:42 AM, Kevin O'Gorman wrote:
> > On Thu, Jul 30, 2009 at 8:44 AM,<linux-sxs at sbmgarden.com> wrote:
> >> 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.
> >>>
> >> Cygwin? that would mean using gcc/g++ and gdb, but should work.
> >>
> >> HTH,
> >> Susan Macchia
> >
> > I could explore that, but first a quick followup: does this path allow
> > me to create a standalone .exe executable for Windows, or does it
> > create something that requires a cygwin environment?
> >
>
> IIRC, you have to have the DLL files from Cygwin besides the exe of your
> app.
>
> I may be wrong, I used Cygwin only for a short time a few years ago.
If you use MinGW there are NO additional DLLs to supply. Just your EXE
and perhaps your own DLLs. It is surprisingly painless to use. They have
even moved so far long that the command line for Linux and Windows is
nearly the same. This was a real PITA for ld. But that is getting to be
child's play these days.
--
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