lkml.org 
[lkml]   [2001]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reg-porting guide (fwd)
SATHISH.J [sathish.j@tatainfotech.com] wrote:
> Hi,
> I want to port an application from linux 32 bit to 64 bit. Where can I get
> details on the same? Is there any porting guide for this? Please send me
> the link.

99% of the time, (32-bit) linux applications will compile and run fine on my
alpha. There are 3 potential problems though:
1) sizeof(long) != sizeof(int)
2) any assembly language in the source.
3) sizeof(void*) != sizeof(int)
The first two can be readily identified by grepping for "long", "asm" and
looking for .s files. The last one causes compiler warnings, but does not
usually cause the application to fail to compile or run.

Cheers,
-- Bob

Bob McElrath (rsmcelrath@students.wisc.edu)
Univ. of Wisconsin at Madison, Department of Physics
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.030 / U:2.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site