masq
01-28-2010, 01:58 PM
Hi,
I'm running scratchbox on a 64bit kubuntu machine and managed to install it and get the runtime up (including Xephyr and the whole maemo emulator) but when I try to compile and run some very basic sample code (including hello world in C++) I get something like:
Floating point exception (core dumped)
for code that looks like:
#include <iostream.h>
int main(int argc, char* argv[]) {
cout << "outputting some test junk";
}
When I run this code on my own machine on the other hand (outside the scratchbox) it works so I'm guessing this is a 32-bit vs 64-bit problem. Any help?
The scratchbox target is x86 as it should be if I'm testing on my own machine right? Sorry if this is a very basic and known issue but google searching did not clarify it within a reasonable amount of time :)
Thanks!
I'm running scratchbox on a 64bit kubuntu machine and managed to install it and get the runtime up (including Xephyr and the whole maemo emulator) but when I try to compile and run some very basic sample code (including hello world in C++) I get something like:
Floating point exception (core dumped)
for code that looks like:
#include <iostream.h>
int main(int argc, char* argv[]) {
cout << "outputting some test junk";
}
When I run this code on my own machine on the other hand (outside the scratchbox) it works so I'm guessing this is a 32-bit vs 64-bit problem. Any help?
The scratchbox target is x86 as it should be if I'm testing on my own machine right? Sorry if this is a very basic and known issue but google searching did not clarify it within a reasonable amount of time :)
Thanks!