Andrew Pennebaker | 7 May 20:36 2013
Picon

Re: [Mingw-users] find lacks -L option

I would like `find` to follow the /c/ (C:\) link, where I keep most of my data, but the version of `find` included seems to lack the -L option.

Could we update MSYS's `find`?

$ find --help
Usage: find [path...] [expression]
default path is the current directory; default expression is -print
expression may consist of:
operators (decreasing precedence; -and is implicit where no others are given):
      ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2
      EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2
options (always true): -daystart -depth -follow --help
      -maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev
tests (N can be +N or -N or N): -amin N -anewer FILE -atime N -cmin N
      -cnewer FILE -ctime N -empty -false -fstype TYPE -gid N -group NAME
      -ilname PATTERN -iname PATTERN -inum N -ipath PATTERN -iregex PATTERN
      -links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE
      -nouser -nogroup -path PATTERN -perm [+-]MODE -regex PATTERN
      -size N[bckw] -true -type [bcdpfls] -uid N -used N -user NAME
      -xtype [bcdpfls]
actions: -exec COMMAND ; -fprint FILE -fprint0 FILE -fprintf FILE FORMAT
      -ok COMMAND ; -print -print0 -printf FORMAT -prune -ls
apenneba <at> NIC-WKS01 ~/Desktop

$ find --help | ack "-L"
ack: No regular expression found.

$ specs find bash git os
Specs:

specs 0.4

find --version
GNU find version 4.1

bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

git --version
git version 1.8.0.msysgit.0

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows XP Professional
OS Version:                5.1.2600 Service Pack 3 Build 2600

--
Cheers,

Andrew Pennebaker
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
ghtrjhrtj | 26 Mar 11:05 2013

emmintrin.h: No such file or directory

when I run 
C:\MinGW\make.exe

it print:

mingw32-gcc -c -msse2 swsse2.c
In file included from swsse2.c:12:
swstriped.h:4:23: emmintrin.h: No such file or directory
C:\MinGW\make.exe: *** [swsse2.o] Error 1


I wonder if you can tell me why.
thanks!

(please forgive me for my poor english!)


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
amenne | 28 Feb 18:42 2013
Picon
Picon

problem with make in MSYS

Dear Users, 

I've installed MinGW and MSYS, Win 7. MinGW is not in the MSYS-directory (is
it a problem?), but during installation of MSYS the program asked for the
folder with MinGW and everything seemed to be fine. 
Now I'm trying to 'make' a program (which I built with cmake before). make
starts to 1%, then the error: 

g++.exe: error: C:/msys/1.0/openmp: No such file or directory
g++.exe: error: C:/msys/1.0/W1: No such file or directory

But I do have the openmp-dll libgomp-1.dll in my MinGW-folder... 
Should I install MSYS again with it sown MinGW? 
Can I have two MinGW - installations on my PC without problems?

Or what should I do? 

Best, AM

--
View this message in context: http://mingw.5.n7.nabble.com/problem-with-make-in-MSYS-tp30782.html
Sent from the MinGW - MSYS mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
BGINFO for X | 8 Feb 15:26 2013

Possible bug? POSIX paths

Hello,

After reading some documentation about PATHS, http://www.mingw.org/wiki/Posix_path_conversion

I have some problems doing a trivial "ls" with windows paths (no spaces).

I have done 5 tests:

1) Windows path one folder - It works!

$ ls -la c:\windows

ls: c:windows/CSC:

total 23080

drwxr-xr-x 64 k Administradores 28672 Jan 18 19:48 .

drwxsr-xr-x 22 k Administradores 16384 Feb 6 16:38 ..

-rw-r--r-- 1 k Administradores 5242934 Nov 5 08:30 BGInfo.bmp

...



2) POSIX path one folder -> It works!

$ ls -la c:/windows

ls: c:/windows/CSC:

total 23080

drwxr-xr-x 64 k Administradores 28672 Jan 18 19:48 .

drwxr-xr-x 22 k Administradores 16384 Feb 6 16:38 ..

-rw-r--r-- 1 k Administradores 5242934 Nov 5 08:30 BGInfo.bmp

...


3) POSIX path subfolder (ADAM) -> It works!

$ ls -la c:/windows/ADAM

total 3384

drwxr-xr-x 37 k Administradores 4096 Mar 20 2012 .

drwxr-xr-x 64 k Administradores 28672 Jan 18 19:48 ..

-rwxr-xr-x 2 k Administradores 253952 Nov 20 2010 ADSchemaAnalyzer.exe

...


4) Windows path subfolder (ADAM) -> It doesn't works!

$ ls -la c:\windows\ADAM

ls: c:windowsADAM: No such file or directory


5) Windows path subfolder (ADAM) QUOTED -> It works!

$ ls -la "c:\windows\ADAM"

total 3384

drwxr-xr-x 37 k Administradores 4096 Mar 20 2012 .

drwxr-xr-x 64 k Administradores 28672 Jan 18 19:48 ..

-rwxr-xr-x 2 k Administradores 253952 Nov 20 2010 ADSchemaAnalyzer.exe


My question is: Why test 4 doesn't work?

If there is only one folder, it works (test 1).

I don't understand why adding subfolders fails.

Is there any reason?

I'm doing something wrong?


Why test 5 works?

I think that quoting here is not necessary.

But In fact I don't mind if works with quotes. My real question is test 4.


Thanks a lot.





------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Ralph | 7 Feb 08:59 2013
Picon

msys-1.18 with basic unicode support

Using kbless patchset from msysgit and a whole slew of work i managed to 
make a version that supports multibyte
and a basic set of unicode functions.

It took quite some work because he was missing a few exports in 
cygwin.din and the wrappers for the w32api unicode functions where 
impossible to compile.

I also added strtoll and strtoull besides stdint and inttypes to the build.

i have tested it against bash zsh and libiconv and they all work and 
report both multibyte an unicode functionality.

I can upload a patch or the modified code for you to try out.

Revelator

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
BGINFO for X | 6 Feb 14:46 2013

MSYS portable question

Hello,

I'm trying to create an installation of MSYS portable:

For example, I copy the 1.0 folder (where resides msys), to C:\.

Then I rename it to C:\MSYSPORTABLE.

Then I launch msys.bat, and all seems that works fine.

I'm doing it in the right way?Is there something that I need to know for function properly?

Any drawbacks?

Thanks a lot.


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Mingw-msys mailing list
Mingw-msys@...
https://lists.sourceforge.net/lists/listinfo/mingw-msys
ginzzer | 30 Dec 07:16 2012
Picon

regarding HOME/END/DELETE keys in msys console

Hi there,
  I just upgraded my msys to the latest version and I figure out the
HOME/END and DELETE keys doesn't really work in the new console (sorry I
didn't remember if it works in the original version too), whenever I
press HOME/END/DELETE, it shows '~' instead. I search online and leads
me to http://www.mingw.org/wiki/Configure_RXVT, I follow the
instructions and tried

1) remove the rxvt.exe, but it doesn't help
2) I modify the ~/.inputrc with the following 
      set completion-query-items 100
      set completion-ignore-case on
      set show-all-if-ambiguous off

      set input-meta on
      set output-meta on
      set convert-meta off
      set bell-style none

      "\e[2~": paste-from-clipboard
      "\e[3~": delete-char
      "\e[5~": beginning-of-history
      "\e[6~": end-of-history
      "\e[7~": beginning-of-line
      "\e[8~": end-of-line

then DELETE key seems work  but HOME/END still doesn't work. 

I have the mingw/msys installed on windows7 x64. Any hint to solve the
problem will be highly appreciated. Thanks.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
Алексей Павлов | 19 Dec 10:18 2012
Picon

msysCORE-1.0.18

Hi!
With msysCORE-1.0.18 I can't use make with more than 1 job - build
freezes. On msysCORE-1.0.17 its ok.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
dmccunney | 28 Aug 00:12 2012
Picon

MSYS using Junctions quirk

I'm not sure whether I'm encountering a bug or just getting bitten by
lack of knowledge.

I have an ancient Fujitsu p2110 notebook, given to me by a friend when
she upgraded to a faster box.  It's decidedly low end, with a
Transmeta 867mhz CPU, an IDE 4 HD, and a whopping 256MB of RAM, of
which 16MB are taken off the top by the CPU for "code morphing".  It
came to me with WinXP SP2 installed, and was frozen snail slow.  I
swapped the original 30GB HD for a 40GB from my SO's dead laptop,
reformatted, partitioned, and installed Win2K Pro SP4, two flavors of
Linux, and FreeDOS.  Properly tuned and configured, Win2K takes about
80MB of RAM when loaded, and is actually usable.  (Most of what I
might need to run under Windows works in 2K.  The stuff that doesn't I
can live without.)

I installed the MYS tools because I wanted a set of Win32 ports of the
common *nix utilities, and a working Win32 version of bash.  I did not
install the MinGW compiler and associated tools - the machine is way
too underpowered to do development on it.

NTFS5 supports hard links for files and junctions for directories.  I
use Hermann Schinagl's Link Shell Extension
(http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html)
which provides context menu entries to create and manipulate such
things.  Under Win2K/WinXP it does hard links out of the box.  Under
Vista/Win7 it supports proper symbolic links, too.*

I wanted a *nix like file system, so I used LSE to create a junction,
and have Msys/1.0/bin appear as /bin.  That works fine.  I
subsequently decided I'd prefer it to appear as /usr/bin, deleted the
old junction, and created a new one.  That did *not* work fine.  The
junction was created, /usr/bin shows in the file system and I can list
the files in it, but attempting to actually execute any of them fails.
 I can type the command at the prompt and I simply return to the
prompt with the command not actually running.  If I create the
junction as /bin, things work.  It appears Msys tools only work
correctly through junctions created off of root, and fail if the
junction is created off a sub-directory.  This seems to be Msys
specific, as I have other sets on Win32 ports of *nix utilities, like
the Gnuwin32 collection, that do work as expected.

Right now, I have Msys mapped via a junction as /bin, and can live
with it.  But I'm curious: *should* creating the junction as /usr/bin
have worked, or am I running into an inherent limit in how Msys works,
or have I found a bug?

* And too my surprise, a recent update to LSE pointed to an open
source driver written by a Japanese developer that enables true
symlinks in 2K and XP.  NTFS5 has the underlying infrastructure to
support symlinks, but it's not exposed by the 2k/XP kernel.  The
driver amends that oversite.

______
Dennis
https://plus.google.com/u/0/105128793974319004519

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Earnie Boyd | 2 Jul 21:20 2012
Picon
Picon

MSYS2 Tools.

I'm beginning a repository to track the source changes required for
MSYS2 Tools.  Please see
https://sourceforge.net/u/earnie/msys2tools/home/Home/ for more
information.

--

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Damon Register | 7 Jun 16:03 2012

uname function in MSYS

I am attempting to compile gnu-ghostscript using mingw-msys.  The configure part
was fairly easy but make dies with a error about not finding sys/utsname.h.  I see
that this is needed because one module uses the uname() function.  So far I haven't
found the header file though I have found the function exists within msys-1.0.dll.
 From http://www.mingw.org/wiki/HOWTO_Create_an_MSYS_Build_Environment
I see that this is where I might expect to find uname.

I downloaded some source for msysCORE  and I see the file uname.cc and sys/utsname.h
What I don't see is how I can have a mingw built app use this function.  Am I correct
in thinking that this header and function are not available to use from within a
standard (not built by me) mingw-msys environment?  What do I have to do to be
able to use uname?

Damon Register

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane