This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have Cygwin, MSYS and MinGW on some Windows XP machine Scenario: - Create Arguments sample (select MinGW toolchain) - Run it ==> ok - Create Welcome sample (select MinGW toolchain) - Run it ==> run fails /cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/Welcome 3/dist/Debug/MinGW-Windows/welcome_3.exe: error while loading shared libraries: libgcc_s_dw2-1.dll: cannot open shared object file: No such file or directory Press [Enter] to close the terminal ...
Cygwin 1.7 conflicts with new mingw from Qt. It is not a common case (can't reproduce with minimal cygwin and standard MinGW), therefore I downgrade this bug to P3
I have a same problem with cygwin tool collection: /cygdrive/c/DOCUME~1/Alex/LOCALS~1/Temp/dlight_Alex/e6fbea3c/dlight3056995797177 550389termexec.sh: line 3: /cygdrive/c/Documents and Settings/Alex/Мои документы /NetBeansProjects/CppApplication_2/"C:/Documents and Settings/Alex/Мои документы /NetBeansProjects/CppApplication_2/dist/Debug/Cygwin_4.x-Windows/cppapplication_ 2": No such file or directory /cygdrive/c/DOCUME~1/Alex/LOCALS~1/Temp/dlight_Alex/e6fbea3c/dlight3056995797177 550389termexec.sh: line 3: exec: /cygdrive/c/Documents and Settings/Alex/Мои док ументы/NetBeansProjects/CppApplication_2/"C:/Documents and Settings/Alex/Мои док ументы/NetBeansProjects/CppApplication_2/dist/Debug/Cygwin_4.x-Windows/cppapplic ation_2": cannot execute: No such file or directory Press [Enter] to close the terminal ...
in latest MinGW (4.4?) or MinGW from Qt path to libgcc_s_dw2-1.dll should be added into Path Workaround: Program can be built with -static-libgcc flag
MinGW+MSYS only More simple scenario: - Create C/C++ Application with such C file (not C++): #include <stdio.h> #include <stdlib.h> int main(int argc, char** argv) { char *v1 = getenv("PATH"); char *v2 = getenv("Path"); printf("%s\n", (v1!=NULL)?v1:"null"); printf("%s\n", (v2!=NULL)?v2:"null"); return (EXIT_SUCCESS); } - Run it ==> terminal appeares and it contains: C:\msys\1.0\bin;C:\msys\1.0\bin C:\msys\1.0\bin;C:\msys\1.0\bin My PATH environment variable is missed (path to dll's from MinGW or Qt)
It's a regression caused by the fix for bug #181386
http://hg.netbeans.org/cnd-main/rev/58b7b66b7bb7 Valera, please verify.
original problem is fixed
thanks!