questions about Build Toolchain..


  • Hi Cosmin,
    on the "Building" page, you list the different tools needed and give a link to your mirror repository, but you're not talking much about MSYS and it's not on your repository.

    MinGW-w64 on Sourceforge is - for me - a little messy; directories are marked modified in 2011 for exemple, but contain the last 2015 toolchains versions..!?? the wiki pages get me to links and explanations about MSYS, but if I come another way, by looking at http://mingw-w64.org and go to download page, I discover an MSYS2...
    also tried the mingw-w64-install.exe and in fact it's an executable that will let me choose the version I want and donwload it for me. http://i66.tinypic.com/k4gigx.jpg

    so, sorry, here are my questions :

    • do I need to download MSYS separately and is it ok to use MSYS2 ?
    • you point to mingw-w64 v4.9.2. there's now a v5.2.0. is it ok if I use the more recent one ?
    • is it possible on Win64 to install both mingw-w64 versions (32 & 64bits) to be able eventually to create also 32bits executables if needed ?

    Thanks..
    ffred


  • 5
    Posts
    1514
    Views
    Log in to reply


  • Hi ffred,

    Thanks for the heads up! I added a link to MSYS and added it to http://luapower.com/files as well. About which MSYS version to download, don't worry about it, it doesn't matter. I use a very ancient one that is 10MB total, the current one deflates to 140MB and it still comes with the same bash 3.1 so I wouldn't worry about it.

    About using a new version of mingw-w64, you could definitely try it but I won't be able to answer support questions for it because I don't have it and I don't want to upgrade it unless there's a good reason for it because it means rebuilding all packages and possibly fixing some build scripts which takes some time. I'm speculating here but If 5.2.0 means a new major GCC version, then incompatibilities with GCC 4.x are to be expected by definition, so I dunno, try it and see, you're on your own :) Don't wanna sound dismissive, by all means try it! The reason for prescribing exact versions of the entire toolchain is to provide the best chances to get binaries from the first try which is something that I think many people like (and AFAIK this is something unique to luapower). But then the reason for having very simple build scripts as opposed to elaborate build systems is to allow other people to experiment, use different gcc versions, do their own thing.



  • Hi Cosmin,
    Ok, thanks.. if I try it, is there something like a "rebuild all" or do I need to rebuild each module one by one..?
    thanks.
    ffred



  • To build all packages, you need to know the correct order. For that, you need to mgit clone luapower and then use mgit build-all --all. More info here



  • ok, thanks a lot..


5
Posts
1514
Views
Log in to reply

Internal error.

Oops! Looks like something went wrong!