Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
April 30, 2013 Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Dear, How to tell to cmake to not generate *-debug.so* files ? |
May 01, 2013 Re: Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | On Tuesday, 30 April 2013 at 22:28:12 UTC, bioinfornatics wrote:
> Dear,
>
> How to tell to cmake to not generate *-debug.so* files ?
Why would you want to do this?
I don't think it's currently supported by our CMake setup, but it should be trivial to add (look at runtime/CMakeLists.txt).
David
|
May 01, 2013 Re: Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information |
May 01, 2013 Re: Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information
or install these files into $DESTDIR/$PREFIX/lib when invocking make install
==> /usr/lib/debug
|
May 02, 2013 Re: Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information
This is (mostly) not about debug information. It's about having a *debug build* of druntime/Phobos, with assertions, ... enabled.
David
|
May 02, 2013 Re: Cmake and debug file | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On Thursday, 2 May 2013 at 18:18:54 UTC, David Nadlinger wrote:
> On Wednesday, 1 May 2013 at 10:52:33 UTC, bioinfornatics wrote:
>> Because rpm package extract hitself debug information. As cmake setup doues this automaticaly it extract an empty debug information
>
> This is (mostly) not about debug information. It's about having a *debug build* of druntime/Phobos, with assertions, ... enabled.
>
> David
oh ok.
rpm debug info extract debug information to put into a debug .so file ( if you use -g of course ^^ )
so your debug file is the lib with assertion enable that is ok for me then.
Nothing to do so i understand better now.
Thanks a lot your information is always much appreciated
|
Copyright © 1999-2021 by the D Language Foundation