[gtkada] [ANNOUNCE] LinXtris 0.1a - A Tetris Clone

Preben Randhol randhol at pvv.org
Fri Jun 20 09:41:45 CEST 2003


duliomatos <duliomatos at bol.com.br> wrote on 20/06/2003 (09:38) :

> I used the -largs -s to create a static binary: "gnatmake -O2 -gnatp
> src/linxtris.adb `gtkada-config --static` -bargs -static -largs -s"
> and it cut down the binary to less than half the size!  Thanks a lot!
> :) It's better to distribute the game as a static binary because it
> won't depend on a specific version of Gnat (3.14, 3.15, etc) and the
> user won't need to install GtkAda.

Well yes, but I think you can get into trouble with the licensing if you
*only* distribute the static binary. (There are some requriments).

I'm looking forward to getting a gnat compiler in the gcc which is up to
speed with Gnat 3.15p and then one can start expecting people to have
gnat on their computer[*] and one can more easily distribute libraries
etc...

[*] or can install it by a couple of mouse clicks.

-- 
Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 --
                 «For me, Ada95 puts back the joy in programming.»



More information about the gtkada mailing list