From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 73CAA2F4AD for ; Tue, 28 Aug 2001 10:12:11 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f7SE6qL31821 for axp-list@listman.redhat.com; Tue, 28 Aug 2001 10:06:52 -0400 Received: from zcamail05.zca.compaq.com (zcamail05.zca.compaq.com [161.114.32.105]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f7SE6pg31817 for ; Tue, 28 Aug 2001 10:06:52 -0400 Received: by zcamail05.zca.compaq.com (Postfix, from userid 12345) id 2085C1176; Tue, 28 Aug 2001 07:16:16 -0700 (PDT) Received: from exctay-gh01.tay.cpqcorp.net (exctay-gh01.tay.cpqcorp.net [16.103.129.42]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id D4875132C for ; Tue, 28 Aug 2001 07:16:15 -0700 (PDT) Received: by exctay-gh01.tay.cpqcorp.net with Internet Mail Service (5.5.2652.78) id ; Tue, 28 Aug 2001 10:12:03 -0400 Message-ID: From: "Donsbach, Jeff" To: "'axp-list@redhat.com'" Subject: RE: Porting hints Date: Tue, 28 Aug 2001 10:11:59 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.78) Content-Type: text/plain X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > -----Original Message----- > From: Gregor Maier [mailto:gregor.maier@newlogic.com] > Sent: Tuesday, August 28, 2001 4:00 AM > To: axp-list@redhat.com > Subject: RE: Porting hints > > > > Mayb this will help. > > the problem could be the int datatype in C. The width of an > int (number of > bits) in C is equal to the processor's register width (i.e. > 32 on Intel and 64 > and alpha) No, "int" is 32 bits on both x86 and Alpha Linux. "Long" is 64 on Alpha though. > > maybe there's some similiar problem with pointers (i.e. > storing pointers in 32 > bit integers combined with some fancy typecasts, ...) That could be part of it. The only way to really know is do some debugging. Otherwise, you could guess until you are blue in the face. Jeff Donsbach >