Forum > FPC development

[SOLVED] how to build the compiler with debug info

(1/2) > >>

Key-Real:
$ ./compiler/ppcrossmipsel test.pas -Fu./rtl/ps1 -Fu./rtl/inc -Tps1 -a -XP/usr/local/mipsel-unknown-elf/bin/mipsel-unknown-elf- -Cfnone
Warning: Source OS Redefined!
Free Pascal Compiler version 3.3.1 [2024/04/22] for mipsel
Copyright (c) 1993-2024 by Florian Klaempfl and others
Target OS: PlayStation 1 for MIPSEL
Compiling test.pas
test.pas(1,6) Error: Compilation raised exception internally
Fatal: Compilation aborted
An unhandled exception occurred at $00000000004EB13A:
EAccessViolation: Access violation
  $00000000004EB13A

:(


perhaps if I compile with debug symbols, we can fix this?

Eugene Loza:
If you are using FPCUpDeluxe you can simply check this checkbox:

Key-Real:
and if not?

Key-Real:
I'm compiling my own compiler.

FPCDeluxe is installing from the official repo?!?!?!?

Laksen:
You can add OPTNEW="-gl" to your make command. This will be used when building the crosscompiler RTL and compiler

Navigation

[0] Message Index

[#] Next page

Go to full version