Forum > General
Compiling lazarus
duzenko:
(BTW What is the right forum to discuss this?)
1. How are we supposed to run the compiled binaries?
By default it seems to put the .exe into the source code folder.
I think it's not the desired effect, as we should not have the source files and runtime files in the same heap.
Is there a make flag to set the output folder?
Should we copy the lazarus installation inside the source folder somewhere?
2. How can I debug fpdebug? E.g. TProcessDebugger.ProcessRun
balazsszekely:
@duzenko
--- Quote ---Is there a make flag to set the output folder?
--- End quote ---
Lazarus Menu->Project->Project Options->Compiler Options-Paths->Target File Name(see attached image).
duzenko:
You mean to compile lazarus from inside lazarus? It does not work at all and wiki says we need to compile from console
balazsszekely:
@duzenko
Sorry, my mistake. You were talking about the IDE.
1. The sources are in $(LazarusDir)\IDE
2. The binaries by default are put in $(LazarusDir) folder
3. You can rebuild the IDE via Tools->Build Lazarus with profile ... or via a script
4. You can debug the IDE by opening $(LazarusDir)\IDE\lazrus.lpi and running the project
4. IIRC the destination directory is configurable in one of the makefile
duzenko:
--- Quote from: GetMem on January 10, 2022, 09:42:33 am ---4. You can debug the IDE by opening $(LazarusDir)\IDE\lazrus.lpi and running the project
--- End quote ---
Could you guide me here?
I have loaded the lazarus.lpi, opened ProcessDebugger.pp, put cursor on line 142, then menu - Go to cursor
Debugger tries to start, but the lazarus GUI does not show, instead the assembler debug window pops up
Navigation
[0] Message Index
[#] Next page