* Reg-porting guide (fwd) @ 2001-10-14 7:49 SATHISH.J 2001-10-14 15:06 ` Bob McElrath 0 siblings, 1 reply; 2+ messages in thread From: SATHISH.J @ 2001-10-14 7:49 UTC (permalink / raw) To: linux-kernel 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. Thanks in advance, Warm regards, sathish.j ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reg-porting guide (fwd) 2001-10-14 7:49 Reg-porting guide (fwd) SATHISH.J @ 2001-10-14 15:06 ` Bob McElrath 0 siblings, 0 replies; 2+ messages in thread From: Bob McElrath @ 2001-10-14 15:06 UTC (permalink / raw) To: SATHISH.J; +Cc: linux-kernel [-- 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 --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-14 15:05 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-10-14 7:49 Reg-porting guide (fwd) SATHISH.J 2001-10-14 15:06 ` Bob McElrath
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®