Commit Graph

3 Commits

Author SHA1 Message Date
Karlson2k
84555bb798 Added support for 'config.site' files
Now users don't need to override installation prefix for MinGW programs and
'configure' scripts use more compatible triplet 'x86_64-w64-mingw32`
automatically instead of 'x86_64-pc-mingw64`.
2016-06-21 03:03:24 +03:00
Renato Silva
f64a34a763 filesystem: More consistent behavior for MSYSTEM.
MSYSTEM now defaults to MSYS when not specified, and there is no
different behavior anymore between empty value and MSYS, for example
/opt/bin was not being added to path when not setting MSYSTEM. This
removes the need for explicitly setting the variable, since a default
value is now implied.
2016-05-24 14:37:08 -03:00
Renato Silva
b827a678b1 Some environment improvements.
* New script /etc/msystem providing information associated with the
  current MSYSTEM. This is sourced by /etc/profile but can be used by
  non-login scripts for getting information such as the current
  compiler architecture or mount point.

* New script /usr/bin/shell for switching between shells without
  restarting MSYS2. This can be used in interactive sessions but also
  from shell scripts for switching the MSYSTEM without restarting bash
  or spawning a subshell.

* Allow /etc/profile to be sourced multiple times without continuously
  appending stuff to PATH or losing track of the original Windows TEMP.
  Also implemented for /etc/profile.d/perlbin.sh, so perl path is not
  repeatedly appended.
2016-05-24 14:37:08 -03:00