<div dir="ltr"><div><div><div><div><div><div><div>Sven:<br><br></div>Thanks for your response.<br><br>I am able to recompile RTL with the following commands issues from an Admin level DOS prompt:<br><br>make clean <br>make all OS_TARGET=win32 CPU_TARGET=i386 OPT="-gl -O-"<br>
make install OS_TARGET=win32 CPU_TARGET=i386 <br><br></div>How do I point the compiler to look at the new units/*.ppu<br><br></div>Currently, the Lazarus 1.2.4/ Fpc 2.6.4 installation puts the stock RTL units into C:\lazarus\fpc\2.6.4\units\i386-win32\<br>
</div>and the newly compiled RTL units into C:\lazarus\fpc\2.6.4\source\rtl\units\i386-win32<br><br></div>Where would I change the internal paths of the compiler so that it now looks at the source code<br>and the newly compiled *.o / *.ppu files of the recompiled RTL instead of looking in the original spot?<br>
<br></div><div>Or must I copy the new compiled stuff into the location of the original ppu/object files?<br></div><div><br></div>Thanks,<br><br></div>marco<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Aug 9, 2014 at 4:52 AM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 08.08.2014 16:20, mark diener wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Using Lazarus 1.2.4 win32 on Windows 8.1<br>
<br>
I am getting stack traces like this:<br>
<br>
#0 SYSTEM_FINISH_WAITFIXEDLIST$<u></u>PFREELISTS at :0<br>
#1 ?? at :0<br>
#2 ?? at :0<br>
#3 TRPZUDPSRV__EXECWRAPPER(<error reading variable>) at<br>
C:\pdev\rpzlib\rpzudpsrv.pas:<u></u>225<br>
#4 TRPZUDPSRV__EXECUTE(<error reading variable>) at<br>
C:\pdev\rpzlib\rpzudpsrv.pas:<u></u>171<br>
#5 CLASSES_THREADPROC$POINTER$$<u></u>LONGINT at :0<br>
#6 SYSTEM_THREADMAIN$POINTER$$<u></u>LONGINT at :0<br>
#7 KERNEL32!CreateWaitableTimerA at :0<br>
#8 ?? at :0<br>
#9 ?? at :0<br>
#10 ?? at :0<br>
#11 ?? at :0<br>
<br>
<br>
There is a stubborn bug for example at this line:<br>
<br>
225: application.QueueAsyncCall(@<u></u>self.guitikfunc,nres);<br>
<br>
That is the last traceable part of the source code.<br>
<br>
Does anybody know how to enable full code tracing in the system,<br>
sysutils, etc to cover calls like<br>
QueueAsyncCall( ) etc.<br>
</blockquote>
<br></div></div>
You'll need to recompile the RTL and packages with debug information (OPT="-gl" for the "make" command line). QueueAsyncCall should normally be debuggable as AFAIK the LCL is usually compiled with debug information...<br>
<br>
Regards,<br>
Sven<br>
<br>
______________________________<u></u>_________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/<u></u>cgi-bin/mailman/listinfo/fpc-<u></u>devel</a><br>
</blockquote></div><br></div>