[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2016-02-20T15:16:29+00:00 https://parallella.org/forums/feed.php?f=13&t=1658 2016-02-20T15:16:29+00:00 2016-02-20T15:16:29+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=16807#p16807 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
I've been using Code::Blocks for development on the Parallella and have run into the same "cannot find -le-hal" problem. I was wondering if yourself or anyone else has found a solution for this?

Statistics: Posted by laideybug — Sat Feb 20, 2016 3:16 pm


]]>
2016-01-26T12:12:16+00:00 2016-01-26T12:12:16+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=16669#p16669 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> thwere is no output on the terminal when building files ... but the build.sh script is the following (hope it helps):

#!/bin/bash
set -e
ESDK=${EPIPHANY_HOME}
ELIBS=${ESDK}/tools/host/lib
EINCS=${ESDK}/tools/host/include
ELDF=${ESDK}/bsps/current/internal.ldf
SCRIPT=$(readlink -f "$0")
EXEPATH=$(dirname "$SCRIPT")
cd $EXEPATH
# Create the binaries directory
mkdir -p bin/
CROSS_PREFIX=
case $(uname -p) in
arm*)
# Use native arm compiler (no cross prefix)
CROSS_PREFIX=
;;
*)
# Use cross compiler
CROSS_PREFIX="arm-linux-gnueabihf-"
;;
esac
# Build HOST side application
${CROSS_PREFIX}gcc src/main.c -o bin/main.elf -I ${EINCS} -L ${ELIBS} -le-hal #-le-loader

# Build DEVICE side program
e-gcc -O3 -T ${ELDF} src/e_task.c -o bin/e_task.elf -le-lib -lm -ffast-math

# Convert ebinary to SREC file
e-objcopy --srec-forceS3 --output-target srec bin/e_task.elf bin/e_task.srec

thanks a lot for your help!
best regards
felix

Statistics: Posted by fbt — Tue Jan 26, 2016 12:12 pm


]]>
2016-01-19T14:21:40+00:00 2016-01-19T14:21:40+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=16623#p16623 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
I'm afraid I haven't got a setup for the parallella anymore I gave up on it so I can't look in detail at this.

The error you are seeing is that the libe-hal library is incompatible for some reason.

Can you paste here the output when you build the dot product example using the makefile from the sdk.

Cheers

Andy

Statistics: Posted by AndyC — Tue Jan 19, 2016 2:21 pm


]]>
2016-01-19T13:59:16+00:00 2016-01-19T13:59:16+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=16622#p16622 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> 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

Statistics: Posted by fbt — Tue Jan 19, 2016 1:59 pm


]]>
2015-02-18T20:20:15+00:00 2015-02-18T20:20:15+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=12690#p12690 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> I've attached the script. It's a .c file
Thank you very much for your help

David

Statistics: Posted by davidl — Wed Feb 18, 2015 8:20 pm


]]>
2015-02-18T19:45:32+00:00 2015-02-18T19:45:32+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=12689#p12689 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
Well it look like it is not compiling your source to me.

What is the name of your source file?

Cheers

Andy

Statistics: Posted by AndyC — Wed Feb 18, 2015 7:45 pm


]]>
2015-02-18T18:41:31+00:00 2015-02-18T18:41:31+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=12688#p12688 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> Statistics: Posted by davidl — Wed Feb 18, 2015 6:41 pm


]]>
2014-12-11T06:38:43+00:00 2014-12-11T06:38:43+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11943#p11943 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
But if anyone wants to see AndyC's procedure with screen shots, I've written it up here:

nick

Statistics: Posted by nickoppen — Thu Dec 11, 2014 6:38 am


]]>
2014-11-19T08:54:10+00:00 2014-11-19T08:54:10+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11647#p11647 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
I can see straight away that my load command is not working. I'll have a play over the next couple of days.

nick

Statistics: Posted by nickoppen — Wed Nov 19, 2014 8:54 am


]]>
2014-11-19T08:34:53+00:00 2014-11-19T08:34:53+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11646#p11646 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> Statistics: Posted by AndyC — Wed Nov 19, 2014 8:34 am


]]>
2014-11-19T06:34:50+00:00 2014-11-19T06:34:50+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11644#p11644 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> Statistics: Posted by nickoppen — Wed Nov 19, 2014 6:34 am


]]>
2014-11-18T14:55:39+00:00 2014-11-18T14:55:39+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11638#p11638 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> Statistics: Posted by AndyC — Tue Nov 18, 2014 2:55 pm


]]>
2014-11-17T22:32:20+00:00 2014-11-17T22:32:20+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11628#p11628 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]> Statistics: Posted by AndyC — Mon Nov 17, 2014 10:32 pm


]]>
2014-11-17T20:32:56+00:00 2014-11-17T20:32:56+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11625#p11625 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
The Brown Deer offline compiler, clcc calls the SDK and it seems to use the -g flag:

e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls -mfp-mode=truncate -falign-loops=8 -falign-functions=8 -w -fstack-usage -fno-exceptions -U_FORTIFY_SOURCE -fno-stack-protector -I/opt/adapteva/esdk/tools/e-gnu/epiphany-elf/sys-include -fpermissive -D__coprthr_device__ -x c++ -I/usr/local/browndeer/include -D __xcl_kthr__ --include=e32pth_if_needham.h --include=opencl_lift.h --include=e32_opencl_ext.h -D __STDCL_KERNEL_VERSION__=020000 -D__COPRTHR__ -D E32_DRAM_ZEROPAGE=0x8e100000 -I/home/linaro/Work/ndfork -D __coprthr__ -S oWyBXV.cpp
execshell> cd /tmp/xclYwTdtI; e-g++ -O0 -g -Wall -c -fmessage-length=0 -ffast-math -ftree-vectorize -funroll-loops -Wunused-variable -ffp-contract=fast -mlong-calls-funr9

I create an elf file and then link it to the executable. The clnm utility seems to report the presence of symbols as well:

linaro-nano:~/Work/ndfork/bin/Debug> clnm ndfork.elf
clnm: '/home/linaro/Work/ndfork/ndfork.cl' bin [coprthr:ARMv7]
clnm: '/home/linaro/Work/ndfork/ndfork.cl' bin [coprthr:E16G Needham]
clnm: '/home/linaro/Work/ndfork/ndfork.cl' ksym k_callCount
clnm: '/home/linaro/Work/ndfork/ndfork.cl' bin [coprthr:ARMv7]
clnm: '/home/linaro/Work/ndfork/ndfork.cl' bin [coprthr:E16G Needham]
clnm: '/home/linaro/Work/ndfork/ndfork.cl' ksym k_callCount
clnm: '/home/linaro/Work/ndfork/ndfork.cl' src [<generic>]
clnm: '/home/linaro/Work/ndfork/ndfork.cl' src [<generic>]

code::blocks seems to be missing them somehow?

nick

Statistics: Posted by nickoppen — Mon Nov 17, 2014 8:32 pm


]]>
2014-11-17T13:11:42+00:00 2014-11-17T13:11:42+00:00 https://parallella.org/forums/viewtopic.php?t=1658&p=11617#p11617 <![CDATA[Re: Code::Blocks - Good alternative to eclipse]]>
Just to check are you compiling with the -g flag?

Cheers

Andy

Statistics: Posted by AndyC — Mon Nov 17, 2014 1:11 pm


]]>