Re: Messing around with linkers & CMake

2017-04-19 Thread Tijl Coosemans
On Wed, 19 Apr 2017 20:06:06 +0200 Adriaan de Groot wrote: > On Saturday 15 April 2017 13:36:40 Koop Mast wrote: >> So I was looking into using binutils from ports to build webkitgtk when >> debug is enabled. With the CMAKE_AR and CMAKE_RANLIB variables I can >> set the binutils ar

Re: Messing around with linkers & CMake

2017-04-19 Thread Adriaan de Groot
On Saturday 15 April 2017 13:36:40 Koop Mast wrote: > So I was looking into using binutils from ports to build webkitgtk when > debug is enabled. With the CMAKE_AR and CMAKE_RANLIB variables I can > set the binutils ar and ranlib. However the problem is that for some > reason cmake doesn't have a

Re: Messing around with linkers & CMake

2017-04-15 Thread Koop Mast
On Thu, 2017-03-09 at 00:42 +0100, Adriaan de Groot wrote: > In some cases, we end up with shared-libs that are too big to include > debugĀ  > info; webkit2, webengine come to mind. Here's one way to mess with > the linkingĀ  > step (bear in mind, I haven't played at *all* with the consequences >

Messing around with linkers & CMake

2017-03-09 Thread Adriaan de Groot
In some cases, we end up with shared-libs that are too big to include debug info; webkit2, webengine come to mind. Here's one way to mess with the linking step (bear in mind, I haven't played at *all* with the consequences this has nor how variable-scope affects generation). Consider