[olug] C programming question (cross-compiling under Linux to run on Windows).

Dan Linder dan at linder.org
Mon Mar 2 20:47:34 UTC 2009


On Sun, Mar 1, 2009 at 10:00 PM, Christopher Cashell <topher-olug at zyp.org>wrote:

> lint is still around in a couple of different forms including lint,
> splint, and pc-lint .  Other tools that might be worth looking into
> are valgrind, Electric Fence, and gcc's -Wall option (-pedantic if you
> really want to see stuff).
>

Thanks for the notes.  I have been 100% Perl for so long that I forgot about
valgrind and electric fence...


> I'm not sure you'll find a lot of familiarity with VBScript or WScript
> on this list, but this sounds pretty trivial to do in Perl (or Python,
> but I much prefer Perl, personally).  There's two choices for Perl on
> Windows, ActiveState (the old stand-by, been around for a while,
> solid, dependable), and the new up-and-comer, Strawberry Perl
> (community developed, less polished, better CPAN integration).
>
> We actually did a decent bit of Perl on Windows at a previous job, and
> had a lot of success with it.  It started with a Perl guy needed to
> put together a Windows-based tool in a hurry, and using Perl for it.
> It worked really well, and things kind of expanded from there.
>

I agree, I could find a lot more code in Perl (and probably easier to work
with too), but this piece has to work on fairly stock Windows boxes without
loading a lot of additional requirements into it.  I know Perl on Windows is
pretty small -- 17MB download -- but that's too big of a change to make
right now.  I just need to fix the bugs and move on.  *sigh*

Thanks,

Dan

-- 
"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the
Satires of Juvenal
"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)
** *** ***** ******* *********** *************



More information about the OLUG mailing list