On 12/11/2011 7:33 PM, bearophile wrote:
A not stripped hello world is 3_908_177 bytes, much bigger than the binary 
produced by DMD, and it's 677_888 bytes stripped.
DMD 2.057beta+optilink produce a 932_892 bytes hello world binary, while using 
the same DMD+ulink it becomes 334_576 bytes.
I recall MinGW may include extra object files during the link process. Try comparing against what GCC's C/C++ compiler produces.


If I compile the little D coins program here:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=151610

Using:
gdc -v2 coins.d -o coins.exe

When I run it it crashes immediately with no error messages :-(
It's a TLS issue being looked into. Offsets are being generated against the wrong section.

-Dan

Reply via email to