Re: Code::Blocks - Good alternative to eclipse
Posted: Tue Jan 19, 2016 1:59 pm
Hi Andy,
i'm trying to setup the code:blocks IDE following your procedure, but when i finish it, and i try to compile just the dotproduct source code available on the epiphany-examples/apps/dotproduct subdirectory, i obtain the following error:
-------------- Build: Debug in dotproduct (compiler: GNU GCC Compiler)---------------
gcc -Wall -g -g -I/opt/adapteva/esdk/tools/host/include -c /home/linaro/workspace/dotproduct/main.c -o obj/Debug/main.o
g++ -L/opt/adapteva/esdk/tools/host/lib -o bin/Debug/dotproduct obj/Debug/main.o -le-hal
Output file is bin/Debug/dotproduct with size 13.09 KB
-------------- Build: EDebug in dotproduct (compiler: E_GCC)---------------
e-gcc -g -I/opt/adapteva/esdk/tools/host/include -c /home/linaro/workspace/dotproduct/e_task.c -o .objs/e_task.o
e-g++ -L/opt/adapteva/esdk/tools/host/lib -o bin/Debug/Edotproduct .objs/e_task.o -T /opt/adapteva/esdk/bsps/current/internal.ldf -le-hal -le-lib
/opt/adapteva/esdk.5.13.09.10/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: skipping incompatible /opt/adapteva/esdk/tools/host/lib/libe-hal.so when searching for -le-hal
/opt/adapteva/esdk.5.13.09.10/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: cannot find -le-hal
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
1 error(s), 0 warning(s) (0 minute(s), 1 second(s))
could you please help me to find out which is the problem?. THANKS
i'm trying to setup the code:blocks IDE following your procedure, but when i finish it, and i try to compile just the dotproduct source code available on the epiphany-examples/apps/dotproduct subdirectory, i obtain the following error:
-------------- Build: Debug in dotproduct (compiler: GNU GCC Compiler)---------------
gcc -Wall -g -g -I/opt/adapteva/esdk/tools/host/include -c /home/linaro/workspace/dotproduct/main.c -o obj/Debug/main.o
g++ -L/opt/adapteva/esdk/tools/host/lib -o bin/Debug/dotproduct obj/Debug/main.o -le-hal
Output file is bin/Debug/dotproduct with size 13.09 KB
-------------- Build: EDebug in dotproduct (compiler: E_GCC)---------------
e-gcc -g -I/opt/adapteva/esdk/tools/host/include -c /home/linaro/workspace/dotproduct/e_task.c -o .objs/e_task.o
e-g++ -L/opt/adapteva/esdk/tools/host/lib -o bin/Debug/Edotproduct .objs/e_task.o -T /opt/adapteva/esdk/bsps/current/internal.ldf -le-hal -le-lib
/opt/adapteva/esdk.5.13.09.10/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: skipping incompatible /opt/adapteva/esdk/tools/host/lib/libe-hal.so when searching for -le-hal
/opt/adapteva/esdk.5.13.09.10/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: cannot find -le-hal
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
1 error(s), 0 warning(s) (0 minute(s), 1 second(s))
could you please help me to find out which is the problem?. THANKS