On Sat, 2004-04-10 at 10:47, Kostas Oikonomou wrote: > Steve, one more data point. I just built Icon 9.4.2 from source using gcc 3.3.1. > The timings I got on your test program are essentially identical to those I had > from the 9.4.1 binary (presumably made with gcc 2.95.3). > > How do you build your Unicon?
gcc 3.2.2 Here's the "Makedefs" I used with Unicon: ========================================= LIBS = @GL_LDFLAGS@ @LIBS@ -lm CC = gcc CFLAGS = -O2 -I../libtp -I../gdbm -I../xpm @GL_CFLAGS@ -I/usr/X11R6/include CFDYN = -fPIC RLINK = -Wl,-E -L../../bin @GL_LDFLAGS@ RLIBS = @LIBS@ -lm -lgdbm -ltp -lnsl -ldl XLIBS = -L/usr/X11R6/lib -lXpm -lX11 XPMDEFS = -DZPIPE XPM=xpm GDBM=gdbm LIBTP=libtp ========================================== The Icon I'm testing against is 9.3.1, but I really doubt that sort of speedup was done between 9.3 and 9.4! I have another thought (small as it may be)... Is it possible that the gcc's use different data models? That is, if the gcc used to build Unicon uses Sun's 64-bit model while the gcc for Icon used 32-bit, that alone would probably be enough to explain the 2-to-1 performance difference. Don't know how you tell this, though. Perhaps "gcc -v"? -Steve -- Steve Wampler <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group