From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,61a3c14b31bc790e,start X-Google-Attributes: gid11318c,public X-Google-Thread: f57db,61a3c14b31bc790e,start X-Google-Attributes: gidf57db,public X-Google-Thread: 1164f8,61a3c14b31bc790e,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-06 18:43:38 PST Xref: gmd.de comp.sys.dec:10605 comp.benchmarks:2889 gnu.gcc.help:4676 Newsgroups: comp.sys.dec,comp.benchmarks,gnu.gcc.help Path: gmd.de!xlink.net!howland.reston.ans.net!agate!news.ucdavis.edu!goodwin From: goodwin@endive.ece.ucdavis.edu (David &) Subject: Compiling specint92 gcc-1.3.5 on Alpha Message-ID: Sender: usenet@ucdavis.edu (News Administrator) Organization: University of California at Davis Distribution: comp Date: Wed, 6 Oct 1993 22:15:48 GMT I'm trying to compile the Specint92 gcc-1.3.5 benchmark on an Alpha using gcc-2.4.5 but I get a warning in most source files that a pointer is being cast as an integer and they have a different size. Gcc compiles OK but does not run (seg. faults). I am fairly familiar with gcc and I'm pretty sure the problem is that Alpha pointers are 8 bytes and integers are only 4 bytes. So when a pointer variable is cast as an integer the upper 4 bytes are being truncated. Unfortunately I don't know how to fix it. I could not find anything alpha specific in the specmark directory, in fact there isn't even a M.alpha makefile. Anyone solved this problem?? David