1) In the worst case, if you have no working lazarus.exe :
- either use the makefile (though I can give you no tips for that)
- download the installer, install to a diff directory (un-select associations, and menu/desktop shortcut). Copy that lazarus. exe into your folder (only the exe). Ignore warnings at startup. Recompile (without your component)
2) To find out more about the crash (202 stack overflow
http://www.freepascal.org/docs-html/user/userap4.html)
Debug the IDE.
- Make a separate bakup of a good lazarus.exe
- Recompile with full debug info [1], but do NOT restart
- Open the project: ide/lazarus.lpi
- F9 (or run from menu)
[1] a)
In "Configure build Lazarus" is a field for options. Put there
-gh -gw -godwarfsets
I suggest
-O-1 -gh -g -gw -godwarfsets -Criot -gtt
and maybe add -Sa
[1] b)
- Menu > Package > Open loaded package
- Chose FCL
- go to options (speed button in package win)
TAB: "Package Options" > Usage
there is a "Custom" field (memo) under "Add options to dependent packages and projects"
add
$(IDEBuildOptions)
in this memo
You do need to remove that later, as it forces almost all packages and projects into debug builds.
Or leave it, but change the options in "conf build laz" (you can have several profiles)