Re: [Plib-users] Building Plib on Mac OSX (Darwin)
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2001-12-29 17:45:36
|
Reed Hedges wrote: > > The "-O6" stuff was removed recently in CVS. > > > Dunno - some attempt to get more speed by increasing the optimisation > level > > I guess. > > Yeah, except gcc 2.95.2 only goes up to -O3, according to the > documentation I have... > and it fails with -O6 :) No it doesn't... /u/steve> gcc -O2 t1.cxx /u/steve> gcc -O6 t1.cxx /u/steve> gcc -O9 t1.cxx /u/steve> gcc --version 2.95.2 Doesn't seem to be a problem. I don't think you'll get any better optimisation after -O3 though. > yup... this OpenGL demands GLint... will this break existing > applications on Darwin? Almost no OpenGL programs would compile 'out of the box' if all GL types were rigerously enforced. But since Darwin appears to only be checking that GLint != int...you may 'get away with it' with many programs. > If so, c'est la vie, I guess. It was only those two lines in ssg > though, none in sg or util. I find that *very* suprising. Evidently it doesn't object to you passing a float in place of a GLfloat and I guess there are relatively few places where we pass integers into OpenGL. > Only with some sneaky hacks. All the directories are different, nothing > like normal unix system. Ack! What a pain. > Also: > 1. is there a really minimal sample program I can use to test? Most of the programs in the PLIB examples are pretty minimal. You have to download those separately from the PLIB web site. > 2. I ran configure script with --without-x. How important is X > windows to any part of > using plib? Not at all - PLIB runs under Windoze without X. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |