From: Jan Kiszka <jan.kiszka@siemens.com>
To: Maksim Osipov <mosipov@ilbers.de>
Cc: isar-users <isar-users@googlegroups.com>
Subject: SDK feedback
Date: Tue, 11 Sep 2018 19:55:12 +0200 [thread overview]
Message-ID: <ec434988-341c-5909-5b09-24507b546014@siemens.com> (raw)
Hi Maksim,
finally, I actually used the SDK on an ARM target, and it worked nicely! One
question and one feature request, though:
I did not do the chroot dance and rather looked for a way to use the cross
compiler directly. And it /seems/ to work, at least for the trivial case:
export LD_LIBRARY_PATH=/path-to-sdk/usr/lib/x86_64-linux-gnu/
sdk/usr/bin/arm-linux-gnueabihf-gcc --sysroot /path-to-sdk \
-o hello hello.c
Does this make sense, at least for the classic "I need a crosscompiler and the
corresponding target libs" case? When will it start to break?
And then I noticed that the deployed SDK image could be a bit slimmer,
specifically by purging /var/cache/apt prior to packaging. Too lazy now to write
my own patch. :)
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next reply other threads:[~2018-09-11 17:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 17:55 Jan Kiszka [this message]
2018-09-11 17:57 ` Jan Kiszka
2018-09-12 7:42 ` Maxim Yu. Osipov
2018-09-12 10:15 ` Jan Kiszka
2018-09-12 11:02 ` Henning Schild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ec434988-341c-5909-5b09-24507b546014@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=mosipov@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox