This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
gdb passes different argv/argc to mingw & cygwin
- From: Sam Steingold <sds at gnu dot org>
- To: cygwin at cygwin dot com
- Date: 20 Jul 2003 20:20:47 -0400
- Subject: gdb passes different argv/argc to mingw & cygwin
- Organization: disorganization
- Reply-to: sds at gnu dot org
#include <stdio.h>
int main (int argc, char *argv[]) {
printf(" * argc=%d\n",argc);
while (argc--) printf("[%s]\n",*argv++);
return 0;
}
#!/bin/sh
args='"4 4" '"'5 5'"
echo $args
./argtest-cygwin.exe ${args}
./argtest-mingw.exe ${args}
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/