On 16 April 2013 21:47, Ignacio Burgueño <iburgu...@gmail.com> wrote: > Quick question. Once you install LR using /MW flag there is no going back, > is it? How would I switch between mingw and, say, VS2008 ?
With regard to the LuaRocks codebase, everything that picking one over the other does is to set defaults in the configuration. So, you could write an alternative configuration file that sets all necessary variables. See the luarocks.cfg module -- basically, to use VS after configuring it for mingw you need a configuration file that undoes everything that the `if detected.mingw32 then ... end block` does (see the detected.windows block for the VS defaults). Then you would launch luarocks using the LUAROCKS_CONFIG environment variable to point to this alternative config file (perhaps writing a luarocks-vs.bat that made it less tedious). You'll also have to configure the directories of the rocks trees, in case you want to avoid mixing them up. So, in short, it is possible but it is cumbersome. Probably easier just to install LR twice in different prefixes, depending on what you want to do. -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers