Recently, I did my first "port" of a Linux program to Win32 (it was a commandline program and it luckily required only a recompile, but I didn't expect that), and while looking for a good package of gcc I found a really nice all-in-one package including gcc and an IDE written in Delphi together with an install program. This makes setting up gcc really easy, and I didn't want to open up yet another front by fighting it out with the gcc installation and makefiles.

That IDE/compiler bundle is called Dev-C++, and it's available from http://www.bloodshed.net or the mirror at http://www.haikuzone.org. I haven't yet investigated how suited this is for quickly compiling C extensions for Perl, but I'll try this the next time a module wants to install some XS files.

Of course, the ideal solution is still to compile stuff with VC++, as it has the better code generator and is faster than gcc, but I'll take a second look at Dev-C++ when it comes to easy installation and compatibility with existing Linux sourcecode.


In reply to Free C++ compiler suite / IDE for Win32 by Corion
in thread Speedy min/max integer key finder for hashes by jcwren

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.