← Back to team overview

oxide team mailing list archive

Cross compiling in Utopic

 

Hi,

For those of you using the (still not yet completed) instructions for
cross-compiling arm builds on Utopic, please be aware that whilst the
default native compiler version has been changed to GCC 4.9 the default
cross-compiler version is still GCC 4.8. Whilst this is the case, to
cross-compile successfully you will need to do the following:

- Enable the universe component in your multiarch chroot
- Install g++-4.9-arm-linux-gnueabihf
- Pass -DUSE_GCC_VERSION=4.9 to cmake (requires trunk r668), which will
tell Oxide to use the 4.9 GCC binaries for both host and target binaries

x86-64 users will also need to install lib32stdc++-4.9-dev, and this
will be the case even once the default cross-compiler version has been
updated. The instructions will need to be updated for this.

Regards
- Chris

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups