campbell@Thalatta.COM (Bill Campbell) (11/25/89)
I need help getting rational argument wild-card expansion in MS-DOS at run-time. I am using Xenix 2.2.6 (2.2.4 with VP/IX extensions) on a Tandy 4000. The MS-DOS Microsoft C manuals refer to a procedure using the setargv.obj library in place of the standard stdargv.obj during linking. I have not been able to find any such discussion in any of the SCO Development System manuals. I have found what appear to be corresponding functions in the /usr/lib/dos directory (Ldsetargv.o, Mdsetargv.o,...), but have not been able to find a combination that works. When I try: cc -dos -Ml tst.c /usr/lib/dos/Ldsetargv.o ... I get something to the effect that it cannot file _wild during the link phase. I have tried extracting stdargv.obj from the Ldlibc.a library and replacing it with Ldsetargv.o, and while the compile works it hasn't done the wild-card expansion. What am I doing wrong? (other than trying to use Dumb-DOS of course) -- ....microsoft--\ Bill Campbell; Celestial Software ...uw-beaver-----!thebes!camco!bill 6641 East Mercer Way ....fluke------/ Mercer Island, Wa 98040 ....hplsla----/ (206) 232-4164