hi John,

ok, that's a shame.

i came across this topic is because i was having some trouble with the "exit" call.
with mingw32-gcc i compiled C object-code, that just calls glutInit, glutCreateWindow, glutMainLoop (a test).

mingw created object-code that required the "_exit" symbol. i'm also stuck using a linker that only supports run-time linking. the only symbol i couldn't find in the freeglut dll was the "_exit" symbol. i'm not sure if this is the right place to ask, but do you (or anyone else) know in which binary i can find the exit symbol?

venom_zx


Date: Fri, 15 Oct 2010 07:32:39 -0500
From: johnffay@cybertron.com
To: freeglut-developer@lists.sourceforge.net
Subject: Re: [Freeglut-developer] "return" instead of "exit"?

Message body The primary issue here is maintaining compatibility with GLUT.  GLUT calls "exit"; therefore "freeglut" will call "exit".  We've already added extensions to handle cases in which the application programmer wants to do something besides exiting.

    - John


On 10/15/2010 5:55 AM, Maximum Venom wrote:
i think replacing exit with return is a good idea. using exit does not add anything useful to begin with. it is already the case that no code should exist in programs after giving control to freeglut. this is dead code. i do not think it's worth maintaining this behavior. i expect it to do very little harm compared to what it is doing now.

venom_zx
------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________ Freeglut-developer mailing list Freeglut-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freeglut-developer

------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________ Freeglut-developer mailing list Freeglut-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freeglut-developer