From: "Peter Remmers" Newsgroups: comp.os.msdos.djgpp Subject: Re: Message: Load error: No DPMI memory Date: Mon, 23 Nov 1998 21:19:03 +0100 Organization: TFH-Berlin (Berlin, Germany) Lines: 31 Message-ID: <73cg2v$7d3$1@idy05.tfh-berlin.de> References: <19981123131535 DOT 12543 DOT rocketmail AT send102 DOT yahoomail DOT com> NNTP-Posting-Host: ip099167.tfh-berlin.de X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Moris Morisson schrieb in Nachricht <19981123131535 DOT 12543 DOT rocketmail AT send102 DOT yahoomail DOT com>... [...] >Ok, the problem is I can compile and run my C programs just fine, but >when I try to compile and run my C++ programs ( gcc -c >prognamesource.cc -o rognamedest.exe) it normally does nothing but >display the prompt again This command line would produce an object file with the extension .EXE. Trying to run this "EXE" would definately be a stupid idea. Leave out the -c switch. > (??- of course! the program displays at least >something more than that!!), or it halts the CMD session. Then, >I try to compile to obtain the object file ( gcc -c prognamesource.cc) >and use coff2exe to get the >executable file, this is when the above message appears. Same here - you use coff2exe to convert an object file to an exe?? You seem to be leaving out the linker stage. the -c switch tells the compiler to only produce an .o file - without it, it automatically runs the linker. Sorry if I tell you nothing new, probably your problem is something totally different, but what you say makes me think you're on the wrong track :-) Peter Remmers