On Jun 14, 4:39 am, pera <gomesbas...@[EMAIL PROTECTED]
> wrote:
> On Jun 13, 6:15 pm, fungus <openglMYSO...@[EMAIL PROTECTED]
> wrote:
>
>
>
> > On Jun 13, 6:44 pm, pera <gomesbas...@[EMAIL PROTECTED]
> wrote:
>
> > > 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).
>
> > If you want really small you could start with
this:http://www.artlum.com/pub/simplegl_x.c
>
> > The windows version is:http://www.artlum.com/pub/simplegl.c
>
> > --
> > <\___/>
> > / O O \
> > \_____/ FTB. Remove my socks for email address.
>
> Making some little changes to your code (without rotating square,
> main() to _start and return to asm("int $0x80;"::"a"(1),"b"(code));)
> the binary size is 5825 bytes.
> With GLUT the binary size is 1952 bytes to make the same black window.
>
I don't know what's wrong ... there's no way that GLUT
is smaller than that. It must be because an extra library
is being linked for some reason.
> For compile your and my source I use only this parameters "-lGL -lGLU -
eg. It doesn't need GLU...
--
<\___/>
/ O O \
\_____/ FTB. Remove my socks for email address.


|