delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/14/19:57:59

From: stuart AT its DOT washington DOT edu (Stuart Maclean)
Subject: Re: argc/argv
14 Jan 1999 19:57:59 -0800 :
Message-ID: <199901141745.JAA02577.cygnus.gnu-win32@autobahn.its.washington.edu>
References: <B0000013577 AT mail DOT tcc DOT com DOT cn>
To: shijn AT tcc DOT com DOT cn
Cc: gnu-win32 AT cygnus DOT com

Hi there, I think your problem may have nothing to do with the C
program at all and is in fact a shell problem.  DOS (your Turbo C
environment??) may not be expanding the * into a list of files,
whereas your gcc env may well be.  Command line processing happens
before your C program ever gets passed its args.

I may be wrong but this is what struck me as I read your post...

stu

-- 
Stuart Maclean, Research Associate
University of Washington
ITS Research Program, College of Engineering
Box 352500
Seattle, WA 98195-2500
Tel: (206) 543-0637
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019