spawn* under xenix->msdos c compiler
Earl H. Kinmonth
cck at deneb.ucdavis.edu
Thu Jun 16 15:05:14 AEST 1988
GENERAL QUESTION:
Where, if anywhere, can I get a list of known bugs in the
XENIX-MSDOS C cross compiler. (At the risk of appearing cynical,
I would settle for a list of routines and constructs that work
precisely as documented since this might be smaller than the bug
list!)
SPECIFIC QUESTION:
Is the spawn* group of commands in the XENIX-MSDOS cross compiler
buggy?
I have a routine that uses
spawnlp(0,shell,shell,flc,cmd,NULL);
Where
shell = "c:/bin/sh.exe";
flc = "-c";
and "cmd" is supplied by the calling routine. When I compile
this under XENIX-MSDOS, I get a message from the MKS Toolkit
shell (c:/bin/sh.exe) that no command follows the "-c" option.
This does NOT happen when I use the spawn* routine supplied with
TURBOC. It DOES happen when is use Quick-C under MSDOS. This
leads me to believe they both share the same brain-damaged code.
(PS: Of course, I've inserted print statements to check that
"cmd" is actually a command string.)
BONUS QUESTION:
Can I extract items from the Quick-C library such as _fmalloc()
or the graphics routines and combine them (XENIX-side) with the
libraries supplied with the XENIX->MSDOS cross compiler. (Yes,
Virginia, I know enough to pull the routines referenced by any
particular routine I pull.)
E H. Kinmonth Hist. Dept. Univ. of Ca., Davis Davis, Ca. 95616
916-752-1636/0776
Disclaimer: I'm a[n] historian! What the hell do I know about
programming?
Internet: ehkinmonth at ucdavis.edu
cck at deneb.ucdavis.edu
BITNET: ehkinmonth at ucdavis
UUCP: {ucbvax, lll-crg}!ucdavis!ehkinmonth
{ucbvax, lll-crg}!ucdavis!deneb!cck
More information about the Comp.unix.xenix
mailing list