Mobile/Build/Maemo Build Instructions: Difference between revisions

Explain about logging into scratchbox, and improve the text about selecting a target
(Clean up the section Maemo Chinook SDK)
(Explain about logging into scratchbox, and improve the text about selecting a target)
Line 52: Line 52:
==Selecting a Scratchbox Target==
==Selecting a Scratchbox Target==


TODO: say something about targets here.
'''TODO:''' say something about what targets are.
 
Once you've followed the instructions above, your Scratchbox install will have two targets: an x86 target and an ARM target. To log into Scratchbox, simply run the command:
 
<code><pre>scratchbox</pre></code>
 
Once you've logged into Scratchbox, the prompt will change to one of the following prompts, depending on whether you have the x86 or the ARM target selected:


To select the x86 target, run:
<code><pre>
<code><pre>
echo "sb-conf select CHINOOK_X86"  | scratchbox  -s -p
[sbox-CHINOOK_X86: ~] >
 
or
 
[sbox-CHINOOK_ARMEL: ~] >
</pre></code>
</pre></code>
or for the ARMEL target, run:
 
You can switch from one target to another while you're logged into Scratchbox simply by running:
 
<code><pre>
<code><pre>
echo "sb-conf select CHINOOK_ARMEL" | scratchbox  -s -p
sb-conf select CHINOOK_X86
 
or
 
sb-conf select CHINOOK_ARMEL
</pre></code>
</pre></code>


To exit Scratchbox and get back to the host system, simply run 'exit'.


'''Note:' if you see this:
'''Note:''' if you see this:


sb-conf: You must close your other Scratchbox sessions first
sb-conf: You must close your other Scratchbox sessions first


You should:
but you can't find your other Scratchbox sessions, you can force close them by running the command 'sb-menu', selecting 'Killall', and then sending a 9.
 
run sb-menu
 
go to killall
 
and send a 9


==Building libIDL==
==Building libIDL==
Confirmed users, Bureaucrats and Sysops emeriti
969

edits