Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#208 glob expansion fails

None
open
nobody
1
2013-12-31
2013-12-31
andalou
No

I built an application, pcregrep, 8.34 with tdm-gcc-4.8.1-3.exe and mSYS
environment.
It built fine, but when I tried to use it, as in:
pcregrep pattern *.txt

I got
pcregrep: Failed to open *.txt: Invalid argument

I built the same application with MinGW and MinGW-w64 and I didn't have
that problem.

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\progs\TDM-GCC-64\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/progs/tdm-gcc-64/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.1/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-4.8.1/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-2 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: posix
gcc version 4.8.1 (tdm64-2)

$ ld -v
GNU ld (GNU Binutils) 2.23.2

Many thanks in advance,

--
Cesar

Discussion


Anonymous


Cancel   Add attachments