[fpc-devel] Better Call Stack Information
Sven Barth
pascaldragon at googlemail.com
Sun Aug 10 22:22:56 CEST 2014
On 10.08.2014 21:48, mark diener wrote:
> Sven:
>
> Thanks for your response.
>
> I am able to recompile RTL with the following commands issues from an
> Admin level DOS prompt:
You should not need a Command shell with Admin rights.
> make clean
> make all OS_TARGET=win32 CPU_TARGET=i386 OPT="-gl -O-"
> make install OS_TARGET=win32 CPU_TARGET=i386
>
> How do I point the compiler to look at the new units/*.ppu
>
> 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\
> and the newly compiled RTL units into
> C:\lazarus\fpc\2.6.4\source\rtl\units\i386-win32
I'd suggest you to install to a custom directory, e.g.:
make install INSTALL_PREFIX=c:\lazarus\fpc\2.6.4-debug
and copy over the fpc.cfg from
c:\lazarus\fpc\2.6.4\bin\i386-win32\fpc.cfg to
c:\lazarus\fpc\2.6.4-debug\bin\i386-win32 and adjust the paths in there.
Then you can simply change the compiler executable inside the Lazarus
settings.
Notes:
- you don't need to specify OS_TARGET and CPU_TARGET if they are the
same as those of the starting compiler (e.g. you have a i386-win32
compiler installed and thus OS_TARGET and CPU_TARGET will be "win32" and
"i386" respectively)
- Lazarus will automatically recompile the LCL and all packages your
application uses upon the first compilation after you changed the
compiler; thus the compilation might take longer the first time
Regards,
Sven
More information about the fpc-devel
mailing list