craig@scicom.alphacdc.com (Craig Anderson) (02/27/89)
I have a 386 AT clone running 386ix 2.0 with VP/ix. A number of projects involve DOS based compilers (MSC C 5.1, Turbo C 2.0, and others). I attempt to use the unix make to drive the DOS based tools. Make generates command like this : vpix -r vpiximage -c cl -c foo.c This works more or less, but here are a couple of problems. 1) How do I up the environment size in command.com? I presume I should set shell=c:\command.com /e:1024 in config.sys, but I'm having no luck. 2) Quite often I have to feed <CR>'s to get the compiler to finish. I know this is triggerred by various error prompts, but I don't have the same problem in stand alone DOS. I also see this some strangeness with stderr redirection. Any one else attempting such craziness? Craig H. Anderson UUCP (ncar,isis,boulder,nbires)!scicom!craig DOMAIN craig@scicom.alphacdc.com
davidsen@steinmetz.ge.com (William E. Davidsen Jr) (03/02/89)
In article <1341@scicom.alphacdc.com> craig@scicom.alphacdc.com (Craig Anderson) writes: | 1) How do I up the environment size in command.com? | I presume I should set shell=c:\command.com /e:1024 in config.sys, | but I'm having no luck. I don't have my manual here, but do you have to (a) set the config, (b) do a vpix -s, and *then* do the vpix -r? | 2) Quite often I have to feed <CR>'s to get the compiler to finish. | I know this is triggerred by various error prompts, but I don't | have the same problem in stand alone DOS. I also see this some | strangeness with stderr redirection. At the risk of sounding foolish, why not do the whole thing in Xenix using the cross compile features of the C compiler. Seems to work pretty well, I do it for a number of packages. I even compiled PC-curses and moved it into the dos libraries directory so I just say -lcurses. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me