[maemo-users] Cross-compiling for the N800

From: Marius Gedminas marius at pov.lt
Date: Fri Apr 11 00:58:03 EEST 2008
On Thu, Apr 10, 2008 at 10:47:35PM +0100, Peter Flynn wrote:
> Ryan Pavlik wrote:
> > I'd suggest reading the Scratchbox docs -
> Do you have a URI for these?

was sufficient for me, but there's more at

> > you need to switch 
> > toolchains.  Right now you're using the i386 stuff so that you can build 
> > and test in a "simulated" N8X0.  Once you have it working the way you 
> > want, you switch "targets" and build again, which will give you an ARM 
> > binary.
> Good grief. I just want to compile an existing .c file that already 
> works. I'm not developing anything.

I'm afraid "compiling a .c file" falls under the definition of
development, in this case.

I do agree that the whole Scratchbox setup is way too complicated.

> Does anyone have the incantation for switching the target to ARM so that 
> I can compile it?


When you start scratchbox with sb-login, you get a hint

  $ sb-login
  Welcome to Scratchbox, the cross-compilation toolkit!

  Use 'sb-menu' to change your compilation target.
  See /scratchbox/doc/ for documentation.
Marius Gedminas
"I may not understand what I'm installing, but that's not my job. I
just need to click Next, Next, Finish here so I can walk to the next
system and repeat the process"
                -- Anonymous NT Admin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080411/7ed9c410/attachment.pgp 
More information about the maemo-users mailing list