To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp list) Subject: passing arguments (was fileutil...shellutil...) Date: Thu, 7 Apr 1994 07:28:13 PDT From: "Marty Leisner" Great... I was going to look into porting it... I'm not sure the gnuish project (gnu tools on msdos) makes as much sense as porting gnu tools to djgcc. How are extended command lines handled? (the typical way on dos is to pass them via the environment). The caller puts the command line in the environment, and the callee pulls it out when it builds argc/argv... A number of DOS shells used this feature (i.e. mks does a series of ~, Aztec C passed long lines in an NULL environment (started with =), This worked well. A shell would do globbing, put it in the environment, and the command would use the extended command line... When you put the expansion into croot, it was transparent to everything you compiled (where is djgcc startup? Is there a filelist for the whole tree? marty leisner AT sdsp DOT mc DOT xerox DOT com