> On Aug 7, 2018, at 11:34 PM, Sven Barth via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > > The main difference is that the compiler will not be build using the new RTL. > This is in most cases no problem at least if you don't want to use new > features that you added to the RTL *inside* the compiler. > > I do that myself as well when testing bugs or developing new features (though > I don't use Lazbuild, but build inside the IDE, but that shouldn't make a > difference). I then build the RTL like this: > > make clean all FPC=/path/to/src/compiler/<cpu>/pp > > And then I can use the new RTL like this (assuming my current directory is > the trunk checkout): > > ./compiler/<cpu>/pp -n -Furtl/units/<cpu>-<os> [other options] mytest.pp > > Please keep in mind that probably you can't use units outside of the RTL > directory in that case (due to different checksums), for that you'd need to > do a "make clean all" inside the top level directory which will also rebuild > the compiler, the RTL and all packages. Also you *must not* use "fpc" as that > will use your installed compiler, but you must use the one you compiled > directly.
Thanks Sven, that works. Btw, what are all these messages I get when building the compiler? I don’t know if they should be ignored or I caused them myself. objc1.inc(360,3) Note: tgobj: (FreeTemp) freeing of temp at pos -2147483648 requested Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal