For this I use my own profiles, in a way like they do it here:
http://ingar.satgnu.net/devenv/mingw32/base.html#config

My profiles looks now a bit different, because of the msys2 structure and other settings what I put in it. With that I can switch always from 32 bit to 64 bit, without open a new console and I have my own build and install folders, without messing up the msys2 system.

Regards
Jonathan



Am 28.08.2014 15:56, schrieb Renato Silva:
There seems to be multiple interpretations for the exact purpose of /usr/local. It looks like it originally was meant to hold files local to the computer when /usr was shared among different hosts. There days it looks like a secondary /usr tree in case you don't want to touch the "official" system's /usr, for example when installing software manually with make install, or when the application is not managed by the system's package manager. I install my scripts collection <https://code.launchpad.net/%7Erenatosilva/+junk/scripts> to /usr/local for example (in MSYS, MSYS2 and unixies).

I guess the distinction between msys, 32 and 64-bit software is more applicable to pacman packages, which are not subject to /usr/local anyway. If you still want it, I think it would be better doing this instead:

  * Create */usr/local/mingw32 *for 32-bit windows programs
  * Create */usr/local/mingw64* for 64-bit windows software
  * Use*/usr/local* for msys and platform-agnostic programs



2014-08-28 10:10 GMT-03:00 Richard Shaw <[email protected] <mailto:[email protected]>>:

    This isn't unique to msys2, but to msys/mingw as well.

    Where are user compiled libraries supposed to go? I've ready
    warnings about NOT putting them with the libraries provided by
    msys/msys2/mingw/etc, but have not seen a straightforward solution.

    Maybe I'm just dense, but isn't that the whole point of /usr/local
    on a full *nix system?

    For instance, I'm using msys2 to build a program called FreeDV, it
    has a dependency provided by the same project called codec2.
    Perhaps in the long run I'll see about making official packages,
    but right now I just want to build them.

    Where should I "install" codec2?

    For now I'm cheating since I'm only building for 32bit windows and
    just created a C:/msys32/usr/local directory and it's worked OK so
    far, but really it needs to be mapped to /msys32/mingw32/usr/local
    and /msys32/mingw64/usr/local depending on which environment I'm
    running, correct?

    Can this be easily done through fstab or fstab.d?

    Thanks,
    Richard

    
------------------------------------------------------------------------------
    Slashdot TV.
    Video for Nerds.  Stuff that matters.
    http://tv.slashdot.org/
    _______________________________________________
    Msys2-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/msys2-users




------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/


_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to