X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: please help me with RHIDE under DOSBox Date: Tue, 30 Mar 2010 13:08:04 -0700 (PDT) Organization: http://groups.google.com Lines: 36 Message-ID: <4b9732d9-3437-4299-9f4a-3d20771afeaf@e7g2000yqf.googlegroups.com> References: <629541 DOT 22585 DOT qm AT web45115 DOT mail DOT sp1 DOT yahoo DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1269979684 7583 127.0.0.1 (30 Mar 2010 20:08:04 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 30 Mar 2010 20:08:04 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: e7g2000yqf.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22 Version/10.51,gzip(gfe) Bytes: 2724 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Mar 28, 3:42=A0pm, Pablo Marty wrote: > > I realised that to find the bugs in my game that only crashes sometimes > under DOSBox, I have to run it from RHIDE under DOSBox, so that the > RHIDE error-detector will highlight the code lines where the errors (run > time, something like overpass an array limit)=A0occured; under Windows it > doesn't crash but Allegro sound is not allowed,=A0that's why=A0I have=A0t= o make > it run under DOSBox, because the music sounds correctly=A0 Okay. > When I try to run my program from the Run command it compiled all the > files perfectly, but at link moment, it said "Command line too long" ... > I suposse that I should change something in "Linker Options", but I have = no > idea, ... does anyone of you knows? thank you I don't use RHIDE, but I know DOSBox isn't LFN-aware, hence you're probably exceeding the 126-byte limit of the cmdline. It also doesn't properly truncate LFNs to 8.3 like real DOS, which can cause issues. (IIRC, trying that once before actually crashed DOSBox for me, hence why I no longer try compiling under there.) A workaround would be to convert your .gpr (project) to .mak (makefile) and try again. Perhaps you'll have to use a @list file to overcome the 126-byte limit, e.g. "ld @myfiles.txt", but I can't guess from here. ;-) Actually, if you use GNU Emacs, you can jump directly to the compile errors too. RHIDE is just somewhat easier due to built-in debugger, easier interface, etc. Too bad it doesn't work under modern Windows. ;-(