<div dir="ltr">Currently I'm quite busy but definitely I will try it and let you know.<div><br></div><div>Thank you.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 19, 2013 at 11:07 AM, Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Wed, September 18, 2013 20:49, Lubomír Čabla wrote:<br>
> I am running pure DOS 7 from Windows 98 US, no drivers, no TSR programs.<br>
> Just <a href="http://COMMAND.COM" target="_blank">COMMAND.COM</a>, no AUTOEXEC.BAT and CONFIG.SYS.<br>
><br>
> Run<br>
><br>
> CWSDPMI -p -x<br>
><br>
> DPMI stays in memory, start FP.EXE - again SIGSEGV.<br>
</div> .<br>
.<br>
<br>
OK, thanks.<br>
<div class="im"><br>
<br>
> Can you tell me where can I download source for IDE from FPC 2.6.2<br>
> and how to compile it?<br>
><br>
> I will try it when I have a free weekend.<br>
<br>
</div>See links on <a href="http://www.freepascal.org/develop.var" target="_blank">http://www.freepascal.org/develop.var</a> - you can e.g. try<br>
downloading fpc.zip source package for fixes from FTP. Unpack it somewhere<br>
and run:<br>
<br>
make rtl_all packages_all ide_all "OPT=-gl -O-" "NOGDB=1"<br>
<br>
That should compile IDE without the debugging support, but that should be<br>
sufficient for start. If the problem cannot be replicated that way, the<br>
next step would be downloading the pre-compiled libgdb<br>
(<a href="ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v6.1.1/go32v2-v601.zip" target="_blank">ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v6.1.1/go32v2-v601.zip</a>),<br>
creating directory "libgdb" next to "rtl", "ide" and "packages", unpacking<br>
content of the downloaded file there and then compiling again using:<br>
<br>
make clean rtl_all packages_all ide_all "OPT=-gl -O-"<br>
<br>
If that still works, you could remove the "-O-" bit to see if the<br>
optimizations make any difference.<br>
<span class=""><font color="#888888"><br>
Tomas<br>
</font></span><div class=""><div class="h5"><br>
<br>
<br>
><br>
> On Wed, Sep 18, 2013 at 8:52 AM, Tomas Hajny <<a href="mailto:XHajT03@hajny.biz">XHajT03@hajny.biz</a>> wrote:<br>
><br>
>> On Tue, September 17, 2013 20:57, Lubomír Čabla wrote:<br>
>> > FPC 2.6.2 for DOS/Go32V2<br>
>> ><br>
>> > There is the fatal IDE unstability in FPC 2.6.2 under pure DOS.<br>
>> ><br>
>> > IDE almost always starts only first time (after installation or<br>
>> reboot).<br>
>> > I start the IDE, compile and run the program (e.g. Hello.pas) and<br>
>> close<br>
>> > IDE. But when I want to start IDE again it crashes with SIGSEGV<br>
>> message.<br>
>> ><br>
>> > Exiting due to signal SIGSEGV<br>
>> > FPC General Protection Fault at eip=006EDE95<br>
>> > eax=65672D6C ebx=0000002A ecx=00000088 edx=00000000 esi=008E91F8<br>
>> > edi=0083B504<br>
>> > ebp=008C0CA0 esp=008C0C90 program=C:\PP\BIN\GO32V2\FP.EXE<br>
>> > cs: sel=00A7 base=00400000 limit=008EFFFF<br>
>> > ds: sel=00AF base=00400000 limit=008EFFFF<br>
>> > es: sel=00AF base=00400000 limit=008EFFFF<br>
>> > fs: sel=00C7 base=00000000 limit=0010FFFF<br>
>> > gs: sel=00C7 base=00000000 limit=0010FFFF<br>
>> > ss: sel=00AF base=00400000 limit=008EFFFF<br>
>> ><br>
>> > Call frame traceback EIPs:<br>
>> > $006EDE95<br>
>> > $005BD905<br>
>> > $005BCD84<br>
>> > $005BC83D<br>
>> > $005BC7F8<br>
>> > $00308AF8<br>
>> > $0030B9F4<br>
>> > $0002DB50<br>
>> > $0002DC5A<br>
>> > $00002040<br>
>> ><br>
>> > To be able to start IDE again in DOS I have to reboot the computer.<br>
>> > I think IDE set something in memory and warm restart does not erase<br>
>> the<br>
>> > memory contents.<br>
>> ><br>
>> > Compilation from command prompt with FPC.EXE works everywhere.<br>
>> > But IDE is good for debugging and help.<br>
>> ><br>
>> > Can someone please help me or advise what I'm doing wrong.<br>
>> ><br>
>> > The main problem is running IDE in pure DOS.<br>
>><br>
>> Which DOS version is it? Is there any DPMI provider running before<br>
>> starting the IDE (some DOS versions include DPMI host themselves)?<br>
>><br>
>> If there is no other DPMI host (running) and thus CWSDPMI.EXE is used,<br>
>> I'd<br>
>> recommend starting with a check whether there is just one (the latest)<br>
>> CWSDPMI.EXE and just for test purposes try loading it into memory as TSR<br>
>> with options "-p -x" (see cwsdpmi.txt included in directory doc\fpc) to<br>
>> see if it makes any difference.<br>
>><br>
>> Obviously, the next step would be compiling the IDE with debug<br>
>> information<br>
>> (including -gl) to see where exactly it fails.<br>
>><br>
>> Tomas<br>
<br>
<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div></div></div>