Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-06

When is make cycle needed?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Francisco Reyes

Reading the docs I see there is a "make cycle" target, but I am not sure when it is necessary.

For the snapshot build seems that only "make all". So when is make cycle needed?

Perhaps it is my newbiness, but the explanation in the manual doesn't mean much to me.

"make cycle" is a bootstrap of the compiler, and builds the rtl and compiler at least three times. The only starting point prerequisites are installed binutils and a starting compiler.

Michael Van Canneyt
to Francisco Reyes
Francisco Reyes wrote
Reading the docs I see there is a "make cycle" target, but I am not sure when it is necessary.

Whenever the compiler changes.

It's to make sure that a compiler change does not cause any errors: the changed compiler (ppc1) must generate a compiler binary (ppc2) which is then used to create another compiler binary (ppc3) - the last 2 binaries must be exactly equal.

Michael