Charles has to be congratulated for keeping us on our toes!
Hi All
I'm trying to find out "the right way" to cross compile for balloon.
I started with a small program
xx.c:
#include <stdio.h>
main()
{
while(1){
printf("x\n");
sleep(2);
}
}
I cross-compiled that with
arm-linux-gnueabi-gcc xx.c -o xx_arm
which gave a binary of around 5kbytes. I copied that onto Balloon and tried to
run it and got:
-sh: ./xx_arm not found
even though it was there and had x permissions. I suspect some missing shared
library linking...
I then rebuilt with:
arm-linux-gnueabi-gcc --static xx.c -o xx_arm
which gave a 555kbytes binary which ran.
What's the magic to get shared library building working?
Thanks
Charles
_______________________________________________
Balloon mailing list
Balloon@balloonboard.org
http://balloonboard.org/mailman/listinfo/balloon