On 10/16/24 3:14 PM, Christo Crause via fpc-pascal wrote:

On Wed, Oct 16, 2024 at 2:12 AM Rainer Stratmann via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:


    - Fpcupdeluxe: A good idea. But it doesn't work. I have tried to
    install an
    AVR crosscompiler on a Linux system. Fatal: Can't find unit
    Infodrwf used by
    Project1. And ‘Project1’ does not use any unit at all.


 This is due to the default debug option that enables the "Display line numbers in run-time error backtraces". This option is not supported on the embedded targets. To disable this in Lazarus go to: Project > Project options > Compielr Options > Debugging

I made the compiler ignore the option and print a warning on these platforms:

https://gitlab.com/freepascal.org/fpc/source/-/commit/bdeb161d85e590f36fb0b5eb88c2cd1e3f1943ef

Please test.

Nikolay
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to