Re: Removing RTTI from binaries

2015-01-16 Thread Johannes Pfau via D.gnu
Am Thu, 15 Jan 2015 23:08:57 -0600 schrieb "Orvid King via D.gnu" : > On 1/15/2015 10:31 PM, Mike via D.gnu wrote: > > On Thursday, 15 January 2015 at 12:01:05 UTC, Johannes Pfau wrote: > > > >> My best guess is that the strings are always placed in rodata, > >> never in separate sections. If you

Re: Can I disable c++ when compiling gdc?

2015-01-16 Thread ketmar via D.gnu
On Fri, 16 Jan 2015 17:04:16 + "Timo Sintonen via D.gnu" wrote: > This came to my mind while reading the other list. > Compiling gdc automatically enables compiling c++. This is > natural because gdc is made with c++. > When making a cross compiler only host c++ is needed, not the > target

Can I disable c++ when compiling gdc?

2015-01-16 Thread Timo Sintonen via D.gnu
This came to my mind while reading the other list. Compiling gdc automatically enables compiling c++. This is natural because gdc is made with c++. When making a cross compiler only host c++ is needed, not the target one. C++ for the target is still built and it also requires target libc (or ne

Re: Removing RTTI from binaries

2015-01-16 Thread Dicebot via D.gnu
On Friday, 16 January 2015 at 04:31:17 UTC, Mike wrote: On Thursday, 15 January 2015 at 12:01:05 UTC, Johannes Pfau wrote: My best guess is that the strings are always placed in rodata, never in separate sections. If you do write("x"), "x" is also in rodata, the rodata section can't be remove

Re: Removing RTTI from binaries

2015-01-16 Thread Orvid King via D.gnu
On 1/15/2015 10:31 PM, Mike via D.gnu wrote: On Thursday, 15 January 2015 at 12:01:05 UTC, Johannes Pfau wrote: My best guess is that the strings are always placed in rodata, never in separate sections. If you do write("x"), "x" is also in rodata, the rodata section can't be removed. If you del