Hi Alexey,
I have just tried the 64-bit package on Win 7. I unpacked it it into
C:\msys as a replacement of my old MSYS package (not sure where it came
from). It could be an old MSYS package from the mingw project). I am
using console2 [1], which is set to use the following command as my shell:
c:\msys\bin\bash.exe --login -i
I have some issues with it:
* With your package, my $HOME/.profile is completely ignored.
* Command "which" is missing. My old MSYS package was having it
implemented as a script (attached).
* Many commands (e.g. ls, basename, ...) start with writing the
following error message to stderr:
0 [main] basename 3784 stdio_init: couldn't make stderr distinct
from stdout
It is funny because "ls 2>/dev/null" suppresses it so it seems the two
are distinct after all...
* The package contains some remnants from your machine which should be
probably cleaned before releasing:
-- home/alexey
-- shortcuts "mintty.exe-____.lnk" or "MSys2.lnk", both pointing
somewhere into C:\test
But other then that, I was able to use it to build my projects after
some twiddling with $PATH to override the gcc toolchain used in the
package. Perhaps it would be better to not include "gcc.exe" and related
without the platform triplet in the package as (arguably) most people
would prefer use these from their mingw-w64, mingw-builds or other gcc
toolchain package as the default one.
[1] https://sourceforge.net/projects/console
Regards,
Morous
On 6.6.2013 22:17, Алексей Павлов wrote:
Hi, everybody!
I have work on creating MSYS2 based on latest Cygwin sources and now
create archives with alpha version.
Links:
32-bit: x32-msys2-alpha-20130607.7z
<http://sourceforge.net/projects/msys2/files/Alpha-versions/32-bit/x32-msys2-alpha-20130607.7z/download>
64-bit: x64-msys2-alpha-20130607.7z
<http://sourceforge.net/projects/msys2/files/Alpha-versions/64-bit/x64-msys2-alpha-20130607.7z/download>
MSYS2 is still using Cygwin like posix paths with /cygdrive prefix.
I would be happy if it can be tested by users who uses MSYS environment.
Information about issues you can send to alex...@gmail.com
<mailto:alex...@gmail.com> or in this thread.
Regards,
Alexey.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
#!/bin/sh
# Original copyright (C) 2002, Earnie Boyd
# mailto:ear...@users.sf.net
# This implementation copyright (C) 2006, 2008, Keith Marshall
# mailto:keithmarsh...@users.sf.net
#
# This file is part of MSYS
# http://www.mingw.org/msys.shtml
#
# File: which
# $Id: which,v 1.4 2009/03/14 14:13:32 keithmarshall Exp $
CMD=`IFS='\\/:'; set CMD $0; eval echo \$\{$#\}`
if test $# -lt 1
then
echo >&2 "$CMD: syntax error: missing argument"
echo >&2 "Usage: $CMD [ -a | --all ] cmd ..."
exit 1
fi
# To accomodate Woe32's typically asinine $PATH, which frequently
# includes directory names with embedded spaces, we need to set up
# $IFS to consider only a newline as a field separator.
IFS=$'\n'
break=break
for PROG
do
if test x"$PROG" = x-a || test x"$PROG" = x--all
then
break=""
else
WHICH=""
# need `type -ap -- "$PROG" || type -p -- "$PROG"'
# because `type -ap foo' reports nothing, if both `foo' and `foo.exe'
# are present, and are distinct.
for LIST in `type -ap -- "$PROG" || type -p -- "$PROG"`
do
if test -f "$LIST"
then
# preserve `.exe' extension
WHICH="$LIST"`test -f "$LIST.exe" && echo '.exe'`
if test "$LIST" != "$WHICH"
then
# detect distinct `foo' and `foo.exe'
# (this needs IFS=<space>, to get the INODE numbers)
IFS=" " INODE1=`ls -id "$LIST"` INODE2=`ls -id "$WHICH"`
if test `set ref $INODE1; echo $2` != `set ref $INODE2; echo $2`
then
# `foo' matches first, followed by `foo.exe'
test -z "$break" && echo "$LIST" || WHICH="$LIST"
fi
# reset IFS=<newline>, to get any further PROG names
IFS=$'\n'
fi
echo "$WHICH"
$break
fi
done
test x"$WHICH" = x && echo >&2 "$CMD: $PROG: "${ERROR="unknown command"}
fi
done
test ${ERROR+set} && exit 1
exit 0
# $RCSfile: which,v $: end of file
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public