* To compile:
*
* MSVC: cl /o ghci.exe /c ghciwrap.c
- * mingw: gcc -mno-cygwin -o ghci.exe ghciwrap.c
+ * mingw: gcc -o ghci.exe ghciwrap.c
*
* If you want to associate your own icon with the wrapper,
* here's how to do it:
* * Add the resulting .res file to the link line of the wrapper:
*
* MSVC: cl /o ghci.exe /c ghciwrap.c ghci.res
- * mingw: gcc -mno-cygwin -o ghci.exe ghciwrap.c ghci.res
+ * mingw: gcc -o ghci.exe ghciwrap.c ghci.res
*
*/
char* new_cmdline;
char *ptr, *src;
unsigned int cmdline_len = 0;
- char **pp;
- LPTSTR pp1;
STARTUPINFO si;
PROCESS_INFORMATION pi;