Difference between revisions of "Compiling ScummVM/WebOS"

Jump to navigation Jump to search
1,097 bytes removed ,  20:38, 13 September 2011
m
Changed instructions for official WebOS SDK/PDK
m (Added -O1 parameter to circumvent a compiler bug.)
m (Changed instructions for official WebOS SDK/PDK)
Line 3: Line 3:
=== Install the WebOS SDK ===
=== Install the WebOS SDK ===


Download the latest [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html WebOS SDK] from the [https://developer.palm.com/ Palm Developer Center] and install it. This is an Ubuntu package for x86 but it also works on Debian and even on x86_64 as described on the download page. When successful you will end up with a ''/opt/PalmSDK/Current'' directory and you are able to call programs like ''palm-package'' from the command-line. The SDK needs a Java 6 Runtime Environment so you have to install that, too.
Download the latest [https://developer.palm.com/content/resources/develop/sdk_pdk_download.html WebOS SDK] from the [https://developer.palm.com/ Palm Developer Center] and install it. The Ubuntu package is for x86 but it also works on Debian and even on x86_64 as described on the download page. When successfully installed you will end up with a ''/opt/PalmSDK/Current'' and a ''/opt/PalmPDK'' directory and you are able to call programs like ''palm-package'' from the command-line. The SDK needs a Java 6 Runtime Environment so you have to install that, too.
 
<syntaxhighlight type="bash">
sudo apt-get install openjdk-6-jre
wget https://cdn.downloads.palm.com/sdkdownloads/3.0.0.643/sdkBinaries/palm-sdk_3.0.0-svn486609-pho643_i386.deb
sudo dpkg -i --force-architecture palm-sdk_3.0.0-svn486609-pho643_i386.deb
</syntaxhighlight>
 
=== Install the WebOS PDK ===
 
The PDK is needed for compiling native applications for WebOS. Unfortunately Palm doesn't provide an official PDK for Linux. But the PDK is a pretty simple piece of software which can be hacked together by
using the PDK for MacOS X and replacing the Mac binaries of the toolchain with the corresponding linux binaries. The [https://github.com/kayahr/linux-webos-pdk linux-webos-pdk project] can be used for creating a WebOS PDK for Linux:
 
<syntaxhighlight type="bash">
sudo apt-get install wget p7zip-full pax patch git
git clone git://github.com/kayahr/linux-webos-pdk.git
cd linux-webos-pdk
./linux-webos-pdk.sh
sudo mv opt/PalmPDK /opt/PalmPDK
</syntaxhighlight>
 
When the ''linux-webos-pdk'' script asks for the toolchain to use then choose version ''2011.03-41''.
 
After this the PDK is installed in ''/opt/PalmPDK''.


=== Environment variables ===
=== Environment variables ===
40

edits

Navigation menu