pera wrote:
> Thanks Wolfgang! works =D
> Like the real argv point to something, like "./123456789"(...), I
> thought that glutInit didn't read the pointer. And It's strange coz I
> dont need set the real file name.
> jbw: if argv is NULL I get segmentation fault
>
> About GLUT: (I'm in Linux) I tried with SDL (~11k) and GLX (14k), and
> I get the most tiny binary with GLUT (7k) =)
> striping (using sstrip) and compressing (and adding a tiny script to
> uncrompress at begin) this binary have only 878bytes, and I'm not
> using dlopen (LoadLibrary of linux).
How about using UPX for binary compression. And to get things really
small:
Use dlopen and dlsym, so that only and only the symbols you need are
included into the binary. All those strings can be compressed quite well
by
UPX.
Wolfgang


|