[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/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - X64 cross compiling - How to get it going guide.

X64 cross compiling - How to get it going guide.

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

X64 cross compiling - How to get it going guide.

Postby AndyC » Tue Aug 12, 2014 2:20 pm

Last edited by AndyC on Sat Aug 16, 2014 3:47 pm, edited 1 time in total.
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: X64 cross compiling - How to get it going guide.

Postby maynarde » Sat Aug 16, 2014 3:01 am

**** This post is irrelevant as of 8/16/2014

FWIM - Lubuntu 14.04.01 x64: So I was following this guide and things were going well until I encountered an error running the toolchain build script for the x64 linux host. The script would abort because it claimed that it could not find a c++ compiler. Looking back at the instructions, I replaced the step about installing arm-linux-gnueabihf with:

$sudo apt-get install git build-essential gcc-arm-linux-gnueabi libncurses5-dev u-boot-tools qemu-user-static debootstrap binfmt-support libusb-dev pkg-config gcc-arm-linux-gnueabihf

Not sure why I did not have the correct c++ compiler but it ended up downloading a LOT of files. Looks like the build went through without the error after doing this. If I had to guess (what follows is uninformed speculation) it is the pkg-config that was the win. I also has to uncomment the download commands in the script to make progress (I think - the above was after the uncomment)

I will post an update when I can get a "hello world" cross compile to execute.
Last edited by maynarde on Sat Aug 16, 2014 3:59 pm, edited 2 times in total.
maynarde
 
Posts: 24
Joined: Sat Jul 19, 2014 8:26 pm

Re: X64 cross compiling - How to get it going guide.

Postby maynarde » Sat Aug 16, 2014 3:13 am

**** This post is irrelevant as of 8/16/2014

Nope. Build bailed with:

/home/emaynard/epiphany-sdk/srcw/gcc/gengtype-state.c:27:21: fatal error: bconfig.h: No such file or directory
#include "bconfig.h"
^
compilation terminated.
make[1]: *** [gengtype-state.o] Error 1
rm fsf-funding.pod gcc.pod
make[1]: Leaving directory `/home/emaynard/epiphany-sdk/bld-epiphany/gcc'
make: *** [all-gcc] Error 2

it's late and I will pick this up tomorrow.
Last edited by maynarde on Sat Aug 16, 2014 3:59 pm, edited 1 time in total.
maynarde
 
Posts: 24
Joined: Sat Jul 19, 2014 8:26 pm

Re: X64 cross compiling - How to get it going guide.

Postby AndyC » Sat Aug 16, 2014 5:30 am

Hi Guys,

It looks like they have changed the toolchain and esdk stuff in the last couple of days, when did you download it?

Cheers

Andy
AndyC
 
Posts: 184
Joined: Fri Jun 27, 2014 5:46 pm

Re: X64 cross compiling - How to get it going guide.

Postby aolofsson » Sat Aug 16, 2014 2:06 pm

SDK undergoing massive overhaul at the moment. Unfortunately this means the main branch is unstable right now. Everything will be up and running by end of august. Until then, cross compiling from x86 will not be available. Tar balls for parallella native tool chains available.
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: X64 cross compiling - How to get it going guide.

Postby maynarde » Sat Aug 16, 2014 3:57 pm

Thanks for the replies. I will check back next month. Cheers!
maynarde
 
Posts: 24
Joined: Sat Jul 19, 2014 8:26 pm

Re: X64 cross compiling - How to get it going guide.

Postby a.nonyme » Tue Aug 19, 2014 8:50 am

a.nonyme
 
Posts: 4
Joined: Tue Aug 19, 2014 8:31 am


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 5 guests

cron