Ok, I think I've solved the problem. (Actually I got your email just after finding the solution.)
I downloaded Unicon from CVS. The config/sun_gcc for Unicon does not have -O2 in CGLAGS (like, for example, the intel_suse does). So I added it. The result is that the timings of the test program are now practically identical for Icon 9.4.2 and CVS Unicon. Phew!
However, there is one downside. Ivib crashes (bus error), if you try to, e.g. create a button and, after it appears on the canvas, invoke "Dialog" by pressing button 3. I've observed this problem before on Solaris, and it seems to be an optimization problem. It goes away if you don't have the -O2 in CFLAGS. I don't have a resolution, but fixing the speed of the VM is more important for me.
Again, thanks to everyone for all the help.
Kostas
On Sat, 10 Apr 2004 14:35:36 -0700, Steve Wampler <[EMAIL PROTECTED]> wrote:
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
------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Unicon-group mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unicon-group
