X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <40576532.4B79BBF6@alltel.net> From: Curtis Mackie X-Mailer: Mozilla 4.5 [en]C-Alltel IS (Win98; I) X-Accept-Language: en-US, en-GB, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Beginner question References: <66h050pu87em1d5fsjk5prqu9ma0k9dl49 AT 4ax DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 75 X-Complaints-To: abuse AT usenetserver DOT com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Tue, 16 Mar 2004 18:34:58 EST Date: Tue, 16 Mar 2004 14:36:03 -0600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Instead of making your own batch, just add these commands to autoexec.bat so that you can run MSDOS prompt directly: set PATH=C:\djgpp\bin;%PATH% set DJGPP=C:\djgpp\djgpp.env ahmose wrote: > I am completely new to C/C++, DJGPP and RHIDE. So I am really a > beginner on my first steps. > > I have a little experience of programming old z80 CPUs, BASIC and a > little FORTH. I have always thought that C/C++ should be my next move > and have finally decided to learn more of this area. > > It seems that DJGPP is the most respected of the compilers and seems > to have a good support structure. I am hoping that I can get a little > help to get me started... > > I have installed everything as instructed (in C:\DJGPP and all sub > directories) using unzip32. I then setup a batch file so that I can > set the paths etc. as follows: > > set PATH=c:\djgpp\bin;%PATH% > set DJGPP=c:\djgpp\djgpp.env > chdir c:\djgpp\mystuff\ > command > > I run the batch file and all is good. > I then go to start RHIDE and I get one of two results. > If I run it from the dos command prompt I get an error:- > > C:\DJGPP\MYSTUFF>rhide > Exiting due to signal SIGSEGV > General Protection Fault at eip=001afe60 > eax=fffd0000 ebx=fffd0000 ecx=000002a0 edx=fffe0000 esi=000000d0 > edi=fffd00e0 > ebp=002ee738 esp=002ee700 program=C:\DJGPP\BIN\RHIDE.EXE > cs: sel=01a7 base=02a00000 limit=7d5effff > ds: sel=01af base=02a00000 limit=7d5effff > es: sel=01af base=02a00000 limit=7d5effff > fs: sel=017f base=00010730 limit=0000ffff > gs: sel=01bf base=00000000 limit=0010ffff > ss: sel=01af base=02a00000 limit=7d5effff > App stack: [002ee864..0026e864] Exceptn stack: [0026da90..0026bb50] > > Call frame traceback EIPs: > 0x001afe60 > 0x001b0035 > 0x00072609 > 0x0007265c > 0x00001f6e > 0x00003f06 > 0x00003f21 > 0x001c24e9 > 0x001af881 > > If I run it by moving into the directory bin in a window it starts but > I get the error message that the DJDIR envirnoment variable could not > be found and then goes on to warn that this is bad news and will cause > more problems. > > What am I doing wrong here? > > Am I out of my depth here, should I be using something simpler (I like > the idea of using Allegro) or should I go and buy a secondhand > Spectrum off eBay and stick to z80??? > > Is this the best group for an absolute beginner with this product or > should I be elsewhere (polite, useful answers only please!) > > Thanks in advance for any help. > > Ahmose