[fpc-pascal] Custom operators for non-record types

JC Chu jcchu at acm.org
Tue Jul 3 12:22:29 CEST 2012


On Tue, Jul 3, 2012 at 3:55 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> I don't know whether you know this, but:
> * testing the compiler compilation (as a first step) is best done using
> "make cycle" in the compiler subdirectory (optionally "make fullcycle" if
> you changed something were a subset of the supported platforms is affected)

I did “make compiler” in $(source)\compiler and copied the resulting
executable to my scratch directory.  No wonder I didn’t find out the
error.  (ಠ_ಠ)


> * if the compiler can be compiled you should do a "make clean all
> TEST_FPC=path/to/your/newly/compiled/ppcXXX" in the "tests" directory and
> compare with a testrun of the same version without the modifications (it's
> sufficient to copy the "log" or "faillist" file from the
> "tests/output/yourcpu-youros" directory for comparison)

Could you elaborate on that?  Do I need to run the test suite with the
old compiler first?

-- 
Best regards,
JC Chu



More information about the fpc-pascal mailing list