Do make inside RTL folder
This looks very promising. Although I am not really successful.
My source trunk directory:
p:\software\FPC_trunkThe target directory:
p:\software\FPC_trunk_expFor the full FPC build, I use this batch script (started from p:\software) that works just fine:
@echo on
set mypath=p:\software\FPC_trunk_exp
set mybinutils=p:\software\Lazarus\fpc\2.6.4\bin\i386-win32
cd FPC_trunk
p:\software\Lazarus\fpc\2.6.4\bin\i386-win32\make clean all OPT="-gl -O-"
p:\software\Lazarus\fpc\2.6.4\bin\i386-win32\make install INSTALL_PREFIX=%mypath% PP=%mybinutils%\ppc386.exe
cd ..
For the RTL build, I came up with such script (also started from p:\software):
@echo on
set mypath=p:\software\FPC_trunk_exp
set mybinutils=p:\software\FPC_trunk_exp\bin\i386-win32
cd FPC_trunk\rtl
p:\software\Lazarus\fpc\2.6.4\bin\i386-win32\make clean all OPT="-gl -O-"
p:\software\Lazarus\fpc\2.6.4\bin\i386-win32\make install INSTALL_PREFIX=%mypath% PP=%mybinutils%\ppc386.exe
cd ..\..
It does produce .o and .ppu files but the Lazarus compiler doesn't seem to notice that (breakpoints at the old places, running old code) - what I am doing wrong? (The full build works fine.)