From: "DeHackEd" References: <883633769 DOT 291897358 AT dejanews DOT com> Subject: Re: rhide/djgpp compile problem Date: Thu, 1 Jan 1998 17:05:03 -0500 Lines: 50 Message-ID: Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk spork AT blue DOT misnet DOT com wrote in message <883633769 DOT 291897358 AT dejanews DOT com>... >I just installed djgpp with rhide and allegro yesterday. Since then, I've >been fooling around with it and testing things out. However, I am unable >to compile a simple test program. When I try to compile, the message >window shows: > >Compiling: test.c >There were some errors. > >I'm not sure what to do. The program won't run or anything. It is a simple >"Hello World" program which I copied verbatim from the documentation. > >I don't know if this is a problem with my settings. So far rhide and >djgpp seem to have worked fine. I compiled Allegro and successfully >compiled the demo program. > >I have looked through the documentation to both djgpp and rhide, but I >can't find anything that might explain this. Any help would be greatly >appreciated. > >Alex Lee > >-------------------==== Posted via Deja News ====----------------------- > http://www.dejanews.com/ Search, Read, Post to Usenet No errors reported. If there was a syntax error, it would say something like: Compiling: test.c test.c: In function 'main', test.c:13: "argv" undefined (First use of this function) test.c:13: (Each undeclared function is reported only test.c:13: once for each function it appears in) test.c:17: Parse error before '*' There were some errors But there was nothing. That makes me suspect the program was not run at all. The spawn[xxx] function returns -1 if it cannot find or run the program. Rhide probably saw that this number was not 0. Because it was not 0, it automaticly assumed there was an error. Check if you installed properly. Make sure C:\DJGPP\BIN is in your path. That's porbably it. -- "DeHackEd" Remove "nospam." from my email address to reply. It's too late to run when you hear the boom.