[Scummvm-devel] Cross-Compiling issues

Klaus Reimer k at ailis.de
Sun May 8 17:19:38 CEST 2011

On 05/08/2011 12:21 AM, Andre Heider wrote:
> using the libgcc/libstdc++ versions which ship with webos v1 devices
> has advantages. most likely every binary on the device depends on
> libgcc, and alot on libstdc++. 

I only have to statically link to libgcc. libstdc++ isn't an issue
anymore after setting PLUGIN_LDFLAGS correctly.

But I found another solution: Upgrading the toolchain to GCC 4.5. I
tried several toolchains and all Code Sourcery toolchains using GCC 4.3
or GCC 4.4 had this __bswapsi2 problem. Toolchains using GCC 4.5 are

This new toolchain now spits out some assertions at the end of the
compilation (And I guess this is again a bug in the toolchain) but this
situation is much better than having hundreds of warnings everywhere.

This newer toolchain also displays some real warnings (Or notes) like
this for example:

gui/console.cpp:670:5: note: the mangling of 'va_list' has changed in
GCC 4.4

I'm going to update the buildbot toolchain to this newer version.

Bye, K <http://www.ailis.de/~k/>
[A735 47EC D87B 1F15 C1E9 53D3 AA03 6173 A723 E391]
(Finger k at ailis.de to get public key)

More information about the Scummvm-devel mailing list