mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: "SATHISH.J" <sathish.j@tatainfotech.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Reg-porting guide (fwd)
Date: Sun, 14 Oct 2001 10:06:03 -0500	[thread overview]
Message-ID: <20011014100603.T1177@draal.physics.wisc.edu> (raw)
In-Reply-To: <Pine.LNX.4.10.10110141319060.14935-100000@blrmail>
In-Reply-To: <Pine.LNX.4.10.10110141319060.14935-100000@blrmail>; from sathish.j@tatainfotech.com on Sun, Oct 14, 2001 at 01:19:16PM +0530

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

      reply	other threads:[~2001-10-14 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-14  7:49 SATHISH.J
2001-10-14 15:06 ` Bob McElrath [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011014100603.T1177@draal.physics.wisc.edu \
    --to=mcelrath@draal.physics.wisc.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sathish.j@tatainfotech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®