Page 8 of 8

Re: Setting up a cross compiling toolchain

Posted: Fri Feb 04, 2011 8:17 pm
by arris69
juuso wrote:
arris69 wrote:...no openembedded documentation available on the internet?
Sure, it is, but how to compile apps (e.g PVR) from sources with OE? Here aren`t any bb recipes to use bitbake :?
look into branch-0-0-1/oe/packages/SamyGO-Template/ how to fetch sources from forum and build the prog.
but better to tell the releaser of app he should provide one (really it's his 'job')
Could you tell command to build toolchain using OE?
:?: bitbake task-samsung-toolchain :?:
but if you try to build any other package this will build the toolchain, logical :roll: , then how do you like to compile apps without toolchain.
p.s. If i try build mc with command

Code: Select all

bitbake mc
i get connection error:

Code: Select all

cvs [checkout aborted]: connect to anoncvs.handhelds.org(128.31.0.23):2401 failed: Connection refused
NOTE: Task failed: Fetch failed: apps/update-rc.d
ERROR: TaskFailed event exception, aborting
ERROR: Build of virtual:native:/home/juuso/samygo/oe/trunk/oe/recipes/update-rc.d/update-rc.d_0.7.bb do_fetch failed
ERROR: Task 618 (virtual:native:/home/juuso/samygo/oe/trunk/oe/recipes/update-rc.d/update-rc.d_0.7.bb, do_fetch) failed


I found, that handhelds.org was under maintenance until 1.12.2010... Now we have February, it is still not available...
but be warned, in branch is a lot of stuff just prepared for devels to start the work. so if you like to build something for c series then you are the devel :twisted:
other thing, it makes no sense to play around with openembedded if extensions pack for your machine is in download section, they are built with more recent oe-layout. it makes sense if you like to devel some new stuff.

hth
arris

Re: Setting up a cross compiling toolchain

Posted: Wed May 11, 2011 9:43 am
by juusso
Finally i got cross-compiling toolchain working.
I`ve download the latest (2011.03-41) Sourcery G++ Lite 2011.03-41 for ARM GNU/Linux and easy set it up.

But i have a question to an experts:
This version contains latest binutils, gcc and other stuff:
GNU Binary Utilities (2.20.51-sg++)
GNU C & C++ Compilers (4.5.2-sg++)
GNU C Library (2.13-sg++)
GNU Debugger (7.2.50-sg++)
Could this be the reason, that i because of newest versions can`t compile low level applications (kernel, u-boot) and get errors about undeclared values?
I know, samsung provides binutils 2.17.50 and gcc 4.2 with it sources, but i could`n make toolchain working. Now i guess might it could better to download another toolchain from CodeSourcery (2007-q3-51) with versions on it:
GNU Binary Utilities (2.18.50-sg++)
GNU C & C++ Compilers (4.2.1-sg++)
GNU C Library
GNU Debugger (6.6.50-sg++)
List of all available toolchains for arm is here.

What do you think?

Re: Setting up a cross compiling toolchain

Posted: Fri May 13, 2011 8:10 pm
by arris69
juuso wrote:...
i guess you won't be happy with binutils other than 2.17.50 from samsung. and if you wanna be at the safe side use also glibc from samsung sources.
but what do you plan to do and wat do you exactly need?

arris

Re: Setting up a cross compiling toolchain

Posted: Fri May 13, 2011 8:19 pm
by juusso
Thanx, i understood.
No special aims, just to have it right working.

Re: Setting up a cross compiling toolchain

Posted: Sat Dec 31, 2011 6:28 pm
by juusso
Thanks and welcome :-)

Re: Setting up a cross compiling toolchain

Posted: Tue Aug 13, 2013 8:29 am
by juusso
Working cross-compilation toolchain is available on SamyGO svn:

Code: Select all

svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-CH arm_v5t_vfp_le