[SailfishDevel] Setting up environment for compiling Rust code

Krzysztof Lesiak wave.dev at hotmail.com
Mon Oct 24 18:20:51 UTC 2016


Thanks, but I'd really like to avoid on-device compiling. For big projects, like e.g. Servo it's just not feasible.

On 24.10.2016 15:37, Corvinux wrote:
Maybe you should also check out this https://github.com/rust-lang/rust/issues/35843

It helped me get rustup, rustc and cargo working on Jolla C

Corvinux

On Mon, Oct 24, 2016 at 3:16 PM, Tone Kastlunger <users.giulietta at gmail.com<mailto:users.giulietta at gmail.com>> wrote:
strace it?

On Sat, Oct 22, 2016 at 3:16 PM, Krzysztof Lesiak <wave.dev at hotmail.com<mailto:wave.dev at hotmail.com>> wrote:
On the platform SDK.

On Do. Okt. 20 10:48:48 2016 GMT+0200, Tone Kastlunger wrote:
> Are you building on the Platform SDK or on the Mer VM?
>
>
>
> On Mon, Oct 17, 2016 at 10:26 PM, Krzysztof Lesiak <wave.dev at hotmail.com<mailto:wave.dev at hotmail.com>> wrote:
>
> Hi all,
>
>
> I'd like to be able to build applications in Rust to run on Sailfish OS; I've installed the Platform SDK, entered the chroot and ran the Rust toolchain installer. Building a simple hello world within the chroot works fine, but for actual applications I need external libraries, which are provided by the targets, i.e. in sb2. However, when I launch sb2 and try to run rustc --version (Rust compiler) or cargo --version (Rust package manager) it doesn't do anything. There's no output, it just hangs until I kill it with Ctrl+C. It happens with both, armv7hl and i486 targets.
>
> Can somebody tell me what's causing this? I couldn't find much documentation about sb2 on the web.
>
>
> Best Regards,
> Krzysztof
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>
>
>
>
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>


_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>




_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org<mailto:devel-unsubscribe at lists.sailfishos.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20161024/3703aa3d/attachment.html>


More information about the Devel mailing list