delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | ahmose <ahmose AT homerightnow DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Beginner question |
Date: | Thu, 11 Mar 2004 11:12:39 +0000 |
Lines: | 68 |
Message-ID: | <66h050pu87em1d5fsjk5prqu9ma0k9dl49@4ax.com> |
NNTP-Posting-Host: | 81.78.208.225 |
Mime-Version: | 1.0 |
X-Trace: | newsg1.svr.pol.co.uk 1079003372 9927 81.78.208.225 (11 Mar 2004 11:09:32 GMT) |
NNTP-Posting-Date: | 11 Mar 2004 11:09:32 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Agent 1.93/32.576 English (American) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |