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

new / few questions ..... :)

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
oskmedia



Joined: 18 May 2006
Posts: 1

PostPosted: Thu May 18, 2006 1:01 am    Post subject: new / few questions ..... :) Reply with quote

Ok discovered D a few days ago, then I found these GTK libs. Downloaded the one out of the SVN. I first then used build to compile the demo. it came to a whopping 2 MB, so apparently it was statically linking a bunch of stuff. Then a few people in IRC said that build for them too always added a few hundred KB on to there stuff. So i thought using DMD directly would do the trick. So i first tried using Build to compile the library then compile my hello world using DMD. When I try to build I get this

Last edited by oskmedia on Mon Sep 09, 2013 12:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Thu May 18, 2006 11:07 pm    Post subject: Re: new / few questions ..... :) Reply with quote

oskmedia wrote:
So i first tried using Build

Sorry, I didn't move to build yet, I can't help there

oskmedia wrote:
how can it load stuff dynamically.

you mean: "Shared libraries cannot be generated."?
from
http://www.digitalmars.com/d/dcompiler.html#linux

Walter started working on that.
You could try the GDC D Compiler, but again I can't help you there.
There are no reports of Duit compiling with GDC.

strip reduced my HelloWorld from 1_547_378 to 757_356.
there are other utilities you could use to dramatically reduce the size of the program on disk.

Ant
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD 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