Code Monkey home page Code Monkey logo

Comments (4)

michaliskambi avatar michaliskambi commented on May 17, 2024

In my experience, FPC 3.0.x indeed recompiles Generics.Collections once (or twice?) more than necessary... but eventually, it's settled, and it's not being recompiled again :) So it's weird, but not a significant problem.

FPC 3.1.1 doesn't do it, in fact it has Generics.Collections precompiled as part of the RTL and it doesn't know their source code anymore. So this problem does not exist with FPC 3.1.1.

I tested this on https://github.com/eugeneloza/decoherence , and it seems that things are indeed "settled" at some point, and recompiling decoherence again and again doesn't recompile anything from CGE. I'm attaching my output, done with FPC 3.0.2 on Linux x86_64. I was just compiling by running lazbuild decoherence_desktop.lpi repeatedly. Before that, I cleaned the engine (by make clean in castle-engine dir).

log.txt

Can you test, do you experience the same? Are they eventually "settled" and not recompiled anymore?

If you still experience the problem, then can you upgrade your FPC 3.0.3 to the latest version (soon to be FPC 3.0.4), or try stable FPC 3.0.2? As far as I see, you also use Linux x86_64, same as me. So you should experience the same thing as me.

from castle-engine.

eugeneloza avatar eugeneloza commented on May 17, 2024

Yes, that's not an important problem, and yes, it won't settle down and FPC would recompile Generic.Collections each time I recompile the code (after changes have been made or project folder purged).

If you still experience the problem, then can you upgrade your FPC 3.0.3 to the latest version (soon to be FPC 3.0.4), or try stable FPC 3.0.2?

3.0.2. Doesn't work under Debian Linux... (actually that's the reason, why they've packaged 3.0.3 with Lazarus for Debian). I haven't checked FPCDeluxe you've written about yet, and I've failed to install a "different" FPC version from the sources several times (and eventually, gave up :)).
But actually yes, if it's a temporary problem of my FPC installation (and not a serious one) then it's not worth any further attention.
(I'll close this issue then)

from castle-engine.

michaliskambi avatar michaliskambi commented on May 17, 2024

FPC 3.0.2 absolutely works under Debian Linux, I'm using it for months. It has problems showing the backtrace with line information, but otherwise it works perfectly :)

from castle-engine.

eugeneloza avatar eugeneloza commented on May 17, 2024

Well I've been getting "Error while linking" unable to compile anything: http://forum.lazarus.freepascal.org/index.php/topic,36093.0.html . That might have been the problem with Debian package itself. But now they package 3.0.3 Linux version of FPC for another bug: https://bugs.freepascal.org/view.php?id=31629

from castle-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.