FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2mb hello world

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
raup-tier



Joined: 12 Jul 2008
Posts: 15
Location: Germany

PostPosted: Sun Jun 13, 2010 11:20 am    Post subject: 2mb hello world Reply with quote

Hi,

i don't know if this is the right section to post this, but i really want to know why the executables in D get so...BIG.

this code:
Code:

module main;

import tango.io.Stdout;

int main( char[][] args ) {
  Stdout( "hiho" );
  return 0;
}


produces a 2 mega byte executable, after using strip -s, it is still 1 mega byte.

why is a simple hello world prog so big?
is this an issue of LDC, Tango or both?
has anyone experienced the same or am i simply not able to use
the ldc compiler in the right way?

Question

system:
arch linux x86-64
ldc - tango

command used:
ldc main.d
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group