maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Binary compatibility of N900 and N9 (https://talk.maemo.org/showthread.php?t=80167)

xusc 2011-11-20 17:42

Binary compatibility of N900 and N9
 
I wrote some programs in C(console) and Qt(with UI) and run fine in my N900.

I wish to know if I copy the programs in binary to N9 , or any device with CPU compatible with N900, will it execute?

Sorry for this quite silly question!

Stskeeps 2011-11-20 18:03

Re: Binary compatibility of N900 and N9
 
N9/Harmattan uses a different binary interface than N900. float-abi=hard vs float-abi=softfp to be exact. So no.

-miniME- 2011-11-20 18:10

Re: Binary compatibility of N900 and N9
 
the other way around it works though - problems are library version differenes.

what i tried was - i copied some binaries from n950 to n900 and they run (text mode) - problems with graphical applications i had only because of n950 and n900 use different libs and probably dbus messages.

ciao

qwazix 2011-11-20 18:19

Re: Binary compatibility of N900 and N9
 
I tried installing the N900 wordpress binary and it did run up to the splash screen, then it segfaulted.
At first it asked for some shared libraries. I copied those to the N9 from the N900 and then I the splash screen appeared.
With my little knowledge I suppose that some binaries *may* run as it was later on in the execution that the segfault appeared, it even gave me a window. So generally maybe it's a no but if the app does not use the different commands in the processor it could work. I intend to test it some more when I find some free time.


All times are GMT. The time now is 07:23.

vBulletin® Version 3.8.8