Ogle and SUN's Forte compilers..
Vincent Cojot <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Has anyone tried to compile ogle with Sun's Forte compilers on Solaris? I was just given a Forte 6.2 license and on my machine (SunBlade 2000, US-IIICu@900Mhz) Forte6.2 should produce better optimization than gcc-2.95.3 (I wouldn'mind having a few extra frames per second). I just tried to compile it and I got the following result: #!/bin/csh # Solaris 8 : SUN compiled gcc (/opt/sfw) # # Forte 7.0: #setenv CFLAGS "-fast -xtarget=ultra3cu -xarch=v8plusb" #setenv CXXFLAGS "-fast -xtarget=ultra3cu -xarch=v8plusb" # Forte 6.2: setenv CFLAGS "-fast -xtarget=ultra3 -xarch=v8plusb" setenv CXXFLAGS "-fast -xtarget=ultra3 -xarch=v8plusb" # # Needed if using shared libs built with gcc setenv LIBS "-L/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -lgcc" # setenv CC /opt/SUNWspro/bin/cc setenv CXX /opt/SUNWspro/bin/CC setenv PERL /usr/local/bin/perl ./configure --prefix=/usr/local --disable-xv --with-libmlib=/opt/SUNWmlib It failed early on ctrl.c with this error: gmake[1]: Entering directory `/usr/local/src/ogle-0.8.5/ctrl' source='ctrl.c' object='ctrl.o' libtool=no \ depfile='.deps/ctrl.Po' tmpdepfile='.deps/ctrl.TPo' \ depmode=none /bin/bash ../depcomp \ /opt/SUNWspro/bin/cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogle\" -DVERSION=\"0.8.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_STROPTS_H=1 -DHAVE_XSHM=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DHAVE_MLIB=1 -DLIBOGLEAO_SOLARIS= -DHAVE_XML=1 -DCONFIG_FILE=\"/usr/local/share/ogle/oglerc\" -I. -I. -I. -I.. -I../include -fast -xtarget=ultra3 -xarch=v8plusb -c `test -f 'ctrl.c' || echo './'`ctrl.c "ctrl.c", line 162: warning: argument mismatch "ctrl.c", line 162: syntax error before or at: ) "ctrl.c", line 391: warning: argument mismatch "ctrl.c", line 391: syntax error before or at: ) "ctrl.c", line 394: cannot recover from previous errors cc: acomp failed for ctrl.c gmake[1]: *** [ctrl.o] Error 2 gmake[1]: Leaving directory `/usr/local/src/ogle-0.8.5/ctrl' gmake: *** [all-recursive] Error 1 ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-, Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~ Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,. Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~' http://step.polymtl.ca/~coyote _.,-*~'`^`'~*-,._ [email protected] They cannot scare me with their empty spaces Between stars - on stars where no human race is I have it in me so much nearer home To scare myself with my own desert places. - Robert Frost