View mode: basic / threaded / horizontal-split · Log in · Help
January 18, 2012
Re: DM linker vs GCC linker?
I'm agree but it seems it's used to provide stack traces too (I just
read it on an old post). So maybe if -shared or if we're in debug
mode...

Il giorno mer, 18/01/2012 alle 16.35 +0100, Jacob Carlborg ha scritto:

> 
> How about DMD passing --export-dynamic to GCC if -shared is passed to DMD?
>
January 18, 2012
Re: DM linker vs GCC linker?
> try this code using a long xml file (tested here with a 2.0 mb list of
> italian cities) ...
Where can I get this particular file?
January 19, 2012
Re: DM linker vs GCC linker?
I took a random medium-sized xml :)

By the way for this test I downloaded it:
http://www.ollie10.it/file.axd?file=2010%2f4%
2fDatabase_Comuni_Italiani_2010.zip (folder /xml/Cities.xml)

Il giorno mer, 18/01/2012 alle 18.28 +0100, Martin Nowak ha scritto:

> > try this code using a long xml file (tested here with a 2.0 mb list of
> > italian cities) ...
> Where can I get this particular file?
January 19, 2012
Re: DM linker vs GCC linker?
Am 18.01.2012, 16:35 Uhr, schrieb Jacob Carlborg <doob@me.com>:

> How about DMD passing --export-dynamic to GCC if -shared is passed to  
> DMD?

--export-dynamic is required for the symbol names in exception back traces  
and comes from dmd.conf. That said, you can remove it there and enable it  
only for debug builds inside a Makefile to still get meaningful messages  
for failed asserts (back traces with files/line numbers).
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home