On Tue, May 3, 2011 at 8:31 PM, Hisham <[email protected]> wrote:
> Contributions of a better uname.exe for the Windows package are
> welcome! (A pointer where to find one is good enough!)

I'm looking, but looking in vain so far.  64-bit Windows is still
fairly new, and 64-bit mingw even younger.  The complication of course
is that someone may choose to use a 32-bit toolchain on Win64, and we
should respect their wishes.  One approach is to directly look at the
output of 'gcc --version' and parse that.  (If people have gcc and
still want to use MSVC then the user is assumed to be intelligent
enough to edit the configuration ;))

> Thanks for all the work on it. Surely you guys know what's needed for
> Windows/mingw better than me. I can grant you push access if you want
> to take care of the mingw side of things in LR.

I would be happy to take on that role, if Fabio feels he is too busy.
My mastery of the if-statement should prevent any conflicts ;)

Windows is .. different.  Not necessarily inferior, but does similar
things in other ways.  The complication of course is that there are
multiple toolchains possible[1], which are not part of the standard
package.  It is true that the MSVC command-line compiler can be
downloaded for free with the Windows SDK ('only' 450 Meg) but some of
us prefer gcc.  Particularly when it comes to redistributing programs,
when the dreaded MSVC runtime redistributable can easily be an order
of magnitude larger than the actual program ;)

steve d.

[1] which is starting to appear in OS X with clang as well. But at
least clang has a gcc personality.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to