If you mean 

"How do we package the toolchains for use in scratchbox 1 ?"

see

http://www.scratchbox.org/wiki/ForeignToolchains

Regards

Peter 

> -----Original Message-----
> From: scratchbox-users-boun...@lists.scratchbox.org 
> [mailto:scratchbox-users-boun...@lists.scratchbox.org] On 
> Behalf Of Jeff Parent
> Sent: 23 March 2010 16:09
> To: scratchbox-users@lists.scratchbox.org
> Subject: Re: [Scratchbox-users] Custom toolchain for Nintendo 
> DS and iPhone
> 
> *** PGP SIGNATURE VERIFICATION ***
> *** Status:   Unknown Signature
> *** Signer:   Unknown Key (0xE90BA14A)
> *** Signed:   23/03/2010 16:08:33
> *** Verified: 24/03/2010 10:14:14
> *** BEGIN PGP VERIFIED MESSAGE ***
> 
> On Tue, Mar 23, 2010 at 04:41:46PM +0100, Antonio Escanuela wrote:
> > Hello,
> > 
> > We are two students doing our final career project. The project 
> > consists in porting an SDL game to Nintendo DS and iPhone, 
> and we want 
> > to use Scratchbox in order to program in our devices. We 
> have an open 
> > toolchain for each device and we want to use them in 
> Scratchbox. Our 
> > question is how to build the custom toolchain for 
> Scratchbox using the 
> > toolchains that we already have.
> > 
> > The toolchains that we have are:
> > 
> > Nintendo DS: http://www.devkitpro.org/
> > iPhone: http://code.google.com/p/iphonedevonlinux/
> > 
> > Thank you for your attention.
> > _______________________________________________
> > Scratchbox-users mailing list
> > Scratchbox-users@lists.scratchbox.org
> > 
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> 
> I assume that you are using Scratchbox2...
> 
> Install your toolchain to a directory and add the location to 
> your PATH.
> 
> export PATH=$PATH:$HOME/x-tools/ds-toolchain/bin
> 
> Next you'll want to initialize a target using your new tool 
> chain. You'll need to be in the directory you will be using 
> for your root for this target.
> 
> cd ~/roots/ds-root
> sb2-init nintendo-ds $HOME/x-tools-ds-toolchain/bin/gcc
> 
> Again, I'm assuming that the C compiler for this tool chain 
> is "gcc" and is located at the given directory above.  
> Additionally there are some options in the sb2-init command 
> that you should check out.
> 
> You'll want to also build qemu if you are using Scratchbox2, 
> specific to your architecture.  Check out my wiki post on how 
> to build the whole setup by hand.
> 
> http://biffengineering.com/wiki/index.php?title=HowToSetupCros
> sCompileEnvironment
> 
> 
> 
> *** END PGP VERIFIED MESSAGE ***
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> 


_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to