Date: Tue, 8 Jun 1993 17:24:18 -0500 From: Jamshid Afshar To: dj AT ctron DOT com, esri!sync!eric AT uunet DOT uu DOT net Subject: Re: dpmi under windows (PS/2 problems?) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu >I hate to be a pain in the ***(*) about this, but how exactly do you tell >windows to give the application 5M of DPMI memory? I don't think you have to actually "do" anything. I can run the 32-bit `diff' and `gcc' in a DOS box with PIF settings of 0KB for EMS and XMS (both required and limit), Video Memory: Text, Execution: Background, Detect Idle Time, Emulate Text Mode, and Retain Video Memory. (btw, I got a message with `diff' that I need to run `DPMIFIX' because of a "buggy read.s" module -- it then works fine but did everyone else get that?). Any other PIF suggestions? I have a PS/2 70 386 25MHz, 8MB, Token Ring card, OS/2 network. I run DOS 5.0 and Windows 3.1 with 5MB permanent virtual memory. I am having problems completely compiling a program using `gcc' under Windows 3.1, though (it works fine outside). I try compiling the program "int main() { return 0; }" using "gcc -v xx.cc" and get: Reading specs from c:/djgpp/lib/specs gcc version 2.4.1 c:/djgpp/bin/cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dunix -Di386 -D__unix__ -D__i386__ -D__unix -D__i386 -D__GO32__ -D__MSDOS__ -DGO32 -DMSDOS -noprecomp xx.cc e:/tmp/cc012400 GNU CPP version 2.4.1 (80386, BSD syntax) and then my system completely hangs. I have a feeling there's something wrong with my system, and maybe all PS/2 (Microchannel?) because I also could not run oemacs (compiled with Watcom). Can someone else with a PS/2 confirm or deny this problem? Here's all the info -- let me know if there's anything else I should provide. My config.sys (I don't install the network) is: BREAK=ON BUFFERS=40 FILES=50 LASTDRIVE=Z SHELL=C:\DOS\COMMAND.COM /E:2000 /P DEVICE=C:\DOS\HIMEM.SYS DEVICE=C:\DOS\EMM386.EXE DEVICE=C:\DOS\ANSI.SYS My autoxec.bat is: @ECHO OFF SET COMSPEC=C:\DOS\COMMAND.COM VERIFY OFF PATH C:\DOS;C:\WINDOWS;c:\djgpp\bin PROMPT $P$G doskey /insert @REM For UNIXish utilities set LOGNAME=jamshid set TZ=CST @REM For dmake set MAKESTARTUP=c:\utility\startup.bcc @REM For DJGPP set COMPILER_PATH=c:/djgpp/bin set C_INCLUDE_PATH=c:/djgpp/include set CPLUS_INCLUDE_PATH=c:/djgpp/cplusinc;c:/djgpp/include set OBJC_INCLUDE_PATH=c:/djgpp/include set OBJCPLUS_INCLUDE_PATH=c:/djgpp/include set LIBRARY_PATH=c:/djgpp/lib set TMPDIR=e:/tmp set GO32TMP=e:/tmp set GO32=ansi emu c:\djgpp\emu387\emu387 Thanks, Jamshid Afshar jamshid AT emx DOT utexas DOT edu