What are the general precautions to move a 32 bit code to a 64 bit code ?
I am moving stuff from 32 bit unix to 64 bit unix.
Are there any general guidelines/papers or articles I can refer ?
Thanks,
Sandeep
What are the general precautions to move a 32 bit code to a 64 bit code ?
I am moving stuff from 32 bit unix to 64 bit unix.
Are there any general guidelines/papers or articles I can refer ?
Thanks,
Sandeep
Depends on the programming language. If you use Perl, the changes are unlikelyQuote:>What are the general precautions to move a 32 bit code to a 64 bit code ?
>I am moving stuff from 32 bit unix to 64 bit unix.
>Are there any general guidelines/papers or articles I can refer ?
Most well-written code ports with no effort. Badly-written code can be so much
trouble that it's better to toss it and rewrite from scratch.
-Bennett
> What are the general precautions to move a 32 bit code to a 64 bit code ?
> I am moving stuff from 32 bit unix to 64 bit unix.
> Are there any general guidelines/papers or articles I can refer ?
> Thanks,
> Sandeep
"...honest to the point of recklessness,
self-centered to the extreme..."
==================================================
>Bit fields/manipulation, indexing directly to a member in
>a struct...
*((char *)base + (int)(&((struct foo *)0)->member)) = value;
That should work, provided that chars still take one byte.
--
Life is a *ly transmitted disease.
--
1. Solaris 9 installed with 32 & 64 bit supports but boots in 32 bit mode
Hi every one,
I have installed Solaris 9 on a Sun Sparc E220R. When I installed, it asked
me whether you want 32 bit or 64/32 bit support. I select 32/64 bit support
and I was assuming that it will boot in 64 bit, but when system booted after
the installation, it was in 32 bit mode.
Can I force the system to boot in 64 bit mode or there is any other way ...
Please advise.
Regards and thanks in advance for the advise.
Abdul Majid
3. performance of runing 32/64 bit program in 64 bit kernel.
4. how do I change the format of data?
5. How 32 bit driver can be ported to 64 bit driver?
6. Looking for souce code to drive an AMD940 chip mace (or equivalent) .
10. Best Build machine: KT333 w/ 32 bit PCI or KT266 w/ 64 bit pci
11. Starting a 64 bit Sol8 Machine in 32 bit mode
12. 32-bit Core files on 64-bit Sysetm
13. 64-bit Solaris 7: wasn't Solaris 2.6 also 32-bit?