Hi,
I have a BeagleBoard C5 booting from SD with the latest Angstrom root
file system.
I have created a crosstool-ng-1.13.3 toolchain (with help from Free
Electrons's great course : http://free-electrons.com/doc/training/embedded-linux).
my toolchain specifics are:
kernel: 2.6.33.19
binutils: 2.20.1a
gcc: 4.4.3
uClibc: 0.9.30.2
(added support for WCHAR)
the toolchain builds and install OK.
the problem:
when building a hello world in C:
<code>
#include <stdio.h>
int main()
{
printf("Hello, world\n");
return 0;
}
</code>
the program compiles OK and the board runs it smoothly (after i copied
ld-uClibc.so.0 to the board's lib directory).
however when trying to run something with std :
<code>
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
cout << "armTest starting..." << endl;
return 0;
}
</code>
the program compiles OK but when run on the board, give and error:
'can't handle reloc 0x13'
HELP !!
yoni