Recent

Author Topic: LResources deleted from .lpr file by linker?  (Read 2165 times)

Hopestation

  • Full Member
  • ***
  • Posts: 181
LResources deleted from .lpr file by linker?
« on: January 25, 2013, 01:11:45 pm »
Hi.

I usually just let Lazarus compile programs with the default setting, but I noticed the Project Options included the Linking option: "Generate debugging info for GBD" (slower, increases exe-size).

I deselected the option and recompiled.

I immediately got a new edit window for a .lrs file.

After some investigation I found that "LResources" had been deleted from the .lpr file. When I replaced it the program compiled, reducing the exe file from 20MB to 2.5kB.

I didn't believe this so I tried again, re-selecting the debugging option and removing it.

The same thing happened again.

Am I doing something wrong or is this a program bug?

Thanks.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: LResources deleted from .lpr file by linker?
« Reply #1 on: January 26, 2013, 02:20:04 pm »
Depending on your version, it might be a bug, check the latest 1.1 to see whether is has been fixed or not (or search the bugtracker).

 

TinyPortal © 2005-2018