Talk About Network

Google





Graphics > OpenGL 3D API > Re: About glutI...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 12 Topic 4791 of 5061
Post > Topic >>

Re: About glutInit

by fungus <openglMYSOCKS@[EMAIL PROTECTED] > Jun 14, 2008 at 05:17 AM

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.
 




 12 Posts in Topic:
About glutInit
pera <gomesbascoy@[EMA  2008-06-11 21:29:10 
Re: About glutInit
Wolfgang Draxinger <wd  2008-06-12 10:04:06 
Re: About glutInit
pera <gomesbascoy@[EMA  2008-06-12 14:42:08 
Re: About glutInit
"jbwest" <jb  2008-06-12 05:02:23 
Re: About glutInit
Wolfgang Draxinger <wd  2008-06-13 09:52:41 
Re: About glutInit
pan <spank@[EMAIL PROT  2008-06-15 11:18:46 
Re: About glutInit
fungus <openglMYSOCKS@  2008-06-13 00:06:25 
Re: About glutInit
pera <gomesbascoy@[EMA  2008-06-13 09:44:55 
Re: About glutInit
Wolfgang Draxinger <wd  2008-06-13 21:06:10 
Re: About glutInit
fungus <openglMYSOCKS@  2008-06-13 14:15:43 
Re: About glutInit
pera <gomesbascoy@[EMA  2008-06-13 19:39:10 
Re: About glutInit
fungus <openglMYSOCKS@  2008-06-14 05:17:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 17:26:29 PST 2009.