[hipl-users] Re: Build and Compile source for N800

  • From: Joakim Koskela <joakim.koskela@xxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Tue, 22 Sep 2009 16:12:26 +0300

Hi Leo,

On Tuesday 22 September 2009 15:50:16 Leo Martinez wrote:
> It might be silly to ask, but under which environment are these building
> instructions need to be compiled?, scratchbox (ARMEL or x86 target?) or
> under a normal linux OS?, and what does the "olddeb" attribute stand for in
> the last command? I'm having a bit of trouble understanding it to be able
> to build and create the package that will be installed in the portable
> device.

Use the ARMEL target for anything that might go onto the actual device. The 
x86 mode is meant for development/testing only - compiling and testing 
software within the scratchbox environment.

..having said that,  I can't actually remember that I've ever really needed 
the x86 mode, even when I've been running stuff on the desktop (within the 
scratchbox). As the ARMEL mode uses cpu emulation, (in theory) it doesn't 
perform as well and might have problems with some lower-level stuff (certain 
system calls might not be supported). But I've never run into any problems 
with it, so I just use it all the time so I wouldn't need to switch between 
the two.

But yes, ARMEL is what you want to be using. :) And the olddeb thing is just a 
modified script to get the packages made within a scratchbox, as that 
environment is quite different from a normal shell (regarding root access 
etc..)

br, j

Other related posts: