Sign in Join

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

Mailing lists / fpc-pascal / 2008-09

Building latest SVN

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Roland Turcan

Hello FPC-Pascal users discussions!

It stops with message:

systemh.inc(84,2) Error: User defined: Building trunk is only supported when using the latest release as a starting compiler.

but it is uncomfortable to rollback to latest release to build up latest SVN.

There must be "nicer" way, but how.

PS: What is the reason to show this error?

Jonas Maebe
to Roland Turcan
Roland Turcan wrote 7 lines
It stops with message: > systemh.inc(84,2) Error: User defined: Building trunk is only > supported when using the latest release as a starting compiler. but it is uncomfortable to rollback to latest release to build up latest SVN.

You don't have to rollback. You can have trunk and the latest release installed in parallel.

There must be "nicer" way, but how.

It often, but not always, depends on how people introduce new features in trunk (using a new internal conditional define in which case everything keeps working usually, or using a version check in which case you have to bootstrap using the previous release).

PS: What is the reason to show this error?

http://bugs.freepascal.org/view.php?id=12168

Jonas

Schatzl Thomas
to Roland Turcan: Hello FPC-Pascal users discussions! It stops with message: but it is uncomfortable to…

Hello,

Show quoted text 8 lines
Von: Roland Turcan Hello FPC-Pascal users discussions! It stops with message: > systemh.inc(84,2) Error: User defined: Building trunk is only > supported when using the latest release as a starting compiler.

This is intentional, otherwise it would be a maintenance nightmare supporting lots of compiler versions compiling any of the thousands of trunk revisions - theoretically every check-in has to be verified against all previous compilers then. It is not worth the effort. Trunk is work in progress, so it might happen that one or the other version is simply incompatible with the latest changes.

Usually it works though. I.e. worked (?), although as you noticed it sometimes does not - however this is officially unsupported for the above reason.

but it is uncomfortable to rollback to latest release to build up latest SVN.

You only need the ppcXXX executable from the latest build. Copy it to some place you do not overwrite. Use "make FPC=<path_to_release_ppc_executable>" to override the start compiler for compiling.

There must be "nicer" way, but how. PS: What is the reason to show this error?

To avoid hard to reproduce bug reports when somebody is compiling current trunk with a non-release version and it does not work =)

Best regards,
Thomas

GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196