Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top
>
>
Can I port code to a 64-bit platform un…

Can I port code to a 64-bit platform under a 32-bit platform?

14 Aoû 2012
Author:

Yes, you can do this if you use a cross-compiler that creates a native code for a platform different from that on which your code is executed.

For Visual C++, for example, you can use X86_amd64 and X86_IA64 cross-compilers included into the Windows SDK pack to create 64-bit binary files in a 32-bit Windows.

Remember that mere recompilation (even if you checked all the compiler warnings) is usually not enough for correct port of a real project to another platform. A code that has been working correctly on the initial platform may become incorrect after being recompiled for another platform.

Detection of porting errors should be started at the stage of code editing/recompilation already - it is possible if you use the static analysis methodology, for example. It will allow you to carry out the initial project migration stage using the cross-compiler without launching the program on the target platform.

References

Popular related articles

S'abonner

Comments (0)

close comment form
close form

Remplissez le formulaire ci‑dessous en 2 étapes simples :

Vos coordonnées :

Étape 1
Félicitations ! Voici votre code promo !

Type de licence souhaité :

Étape 2
Team license
Enterprise licence
** En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité
close form
Demandez des tarifs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
USD
EUR
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
La licence PVS‑Studio gratuit pour les spécialistes Microsoft MVP
close form
Pour obtenir la licence de votre projet open source, s’il vous plait rempliez ce formulaire
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
I want to join the test
* En cliquant sur ce bouton, vous déclarez accepter notre politique de confidentialité

close form
check circle
Votre message a été envoyé.

Nous vous répondrons à


Si l'e-mail n'apparaît pas dans votre boîte de réception, recherchez-le dans l'un des dossiers suivants:

  • Promotion
  • Notifications
  • Spam