Benoît Minisini escribió:

> 
> You must:
> 
> 0) Run ldd on the *.so files of all gambas components used by your 
> application 
> to make a list of needed shared libraries. Don't forget to run ldd on the 
> interpreter.
> 
> 1) Put all detected shared libraries in a folder. Let's name it "/my/ld/dir"
> 
> 2) Copy a gambas installation directory in another folder. Let's name it 
> "/my/gambas/dir".
> 
> 3) Create a script like that:
> 
> #!/bin/sh
> export LD_LIBRARY_PATH=/my/ld/dir:$LD_LIBRARY_PATH
> export GB_DIR=/my/gambas/dir
> exec /my/application.gambas
> 
> This is just the principle. To make that cleanly, you must detect the current 
> directory in your script, and build /my/ld/dir and /my/gambas/dir absolute 
> paths from path relative to the current directory. You should check that the 
> running system has the good architecture too.
> 
> If somebody succeeds in doing that, please tell. A good guy would be able to 
> even create a wizard for the IDE that would do the job automatically. I don't 
> have the time for that at the moment!
> 
> Regards,
> 

Many thanks, Benoît

I will give a try when I have time, and I will post the results.

Regards

Jesus

Attachment: 0x15E1D3C3.asc
Description: application/pgp-keys

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to