[gtkada] portable binary to put on any computer

Thomas De Contes d.l.tDeContes at free.fr
Thu Dec 23 21:59:20 CET 2004


Le jeudi, 23 déc 2004, à 21:43 Europe/Paris, Pascal Obry a écrit :

>
> Thomas De Contes writes:
>> how can i make a "portable" binary, that i could run on any computer,
>> without need to install gtk on the computer before ?
>> is it possible ?
>
> I don't think this is possible (a self contained executable). But you  
> do not
> have to install Gtk+, what about just distributing the Gtk .dll with  
> your
> executable (everything inside the same dir) ?

i used  
http://tDeContes.hd.free.fr/miseADisposition/contributions/ 
install%20scripts/01%20gtk/gtkscript to install gtk,
and when i run gtk-demo on the other mac, it says :

[antoinette:~] antoinet% bin/gtk-demo
dyld: bin/gtk-demo can't open library:  
/Users/thomas/bin/autoinstall/lib/libgdk_pixbuf-2.0.0.dylib  (No such  
file or directory, errno = 2)
Trace/BPT trap
[antoinette:~] antoinet%

what do you think about it ?


the pb is that this computer has only an rtc connection, and we pay it  
for each minute connected (is it english ? ;-) )
and it would be very long to run the script on this computer

ah, i just think, in any case it's not possible to run the script,  
since the devtools (compiler) are not installed
is there a solution ?




More information about the gtkada mailing list