[Openal] OpenAL for ARM XSCALE Based Embedded Devices!

Chris Robinson chris.kcat at gmail.com
Mon Feb 15 08:01:05 PST 2010


On Monday 15 February 2010 7:12:43 am OpenGeek wrote:
> Hi, I am using GeoAmida Biometric cum Smart Card reader/writer, By GeoDesic
> hand held device with Linux Lite as Firmware. I was wondering if OpenAL can
> be integrated with embedded systems. As OpenAL is considred to be Cross
> Platform, Can it be compiled for ARM architecture based Systems. (It also
> supports ALSA). If yes how to configure openal soft during compilation.

Theoretically, OpenAL Soft should work. I'm not sure how recently it's been 
tested, but as long as the system supports threading and it builds, it should 
run.. and if it doesn't work, I'd consider that a bug.

> I acutally need to compile the source for ARM based systems. I have
> installed arm-xscale-*-gcc compilers for the same. Please help me in this
> regard.

As for cross-compiling to the ARM system from a non-ARM system, it should be 
sufficient to modify (or make a copy to modify) XCompile.txt. 
CMAKE_SYSTEM_NAME would probably be Linux or Generic, and CMAKE_C_COMPILER and 
CMAKE_CXX_COMPILER should be set to the executable name of the C and C++ 
compiler (OpenAL Soft doesn't use C++, but it doesn't hurt to be set for 
completeness). CMAKE_FIND_ROOT_PATH should be the path where it can find the 
include/ and lib/ directories for the compiler.

When running cmake, make sure to pass -DCMAKE_INSTALL_PREFIX=, using the path 
to where the headers and lib should go during 'make install', if you run that.


Good luck, and feel free let me know how well it goes. :)


More information about the Openal mailing list