Hi,
The script worked flawlessly, thanks.
The compiler worked but linker fails this way:
Code: Select all
/home/giovanni/Projects/ChibiStudio/tools/cross-powerpc-eabivle/bin/../lib/gcc/powerpc-eabivle/4.9.4/libgcc.a(eabivle.o): In function `__eabi':
/home/giovanni/Projects/gcc-powerpc-eabivle-master/build-gcc/powerpc-eabivle/libgcc/../../../extracted/gcc-4.9.4/libgcc/config/rs6000/eabivle.S:328: undefined reference to `__init'
/home/giovanni/Projects/ChibiStudio/tools/cross-powerpc-eabivle/bin/../lib/gcc/powerpc-eabivle/4.9.4/libgcc.a(eabivle.o):(.got2+0x8): undefined reference to `__SDATA_START__'
/home/giovanni/Projects/ChibiStudio/tools/cross-powerpc-eabivle/bin/../lib/gcc/powerpc-eabivle/4.9.4/libgcc.a(eabivle.o):(.got2+0xc): undefined reference to `__SBSS_END__'
/home/giovanni/Projects/ChibiStudio/tools/cross-powerpc-eabivle/bin/../lib/gcc/powerpc-eabivle/4.9.4/libgcc.a(eabivle.o):(.got2+0x14): undefined reference to `__SDATA2_START__'
/home/giovanni/Projects/ChibiStudio/tools/cross-powerpc-eabivle/bin/../lib/gcc/powerpc-eabivle/4.9.4/libgcc.a(eabivle.o):(.got2+0x18): undefined reference to `__SBSS2_END__'
Apparently the library has different requirements compared to the GCC I used to use. I imagine the NXP compiler would give the same errors, not sure how to address the __init symbol (others are clear enough), I imagine it is a function to be implemented, what is supposed to do?
I fixed the problem you mentioned in trunk (will make sure it is in all branches).
Giovanni