From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot noob help!
Date: Sat, 15 Oct 2011 16:06:32 -0500 [thread overview]
Message-ID: <201110151606.35102.minimod@morethan.org> (raw)
In-Reply-To: <CAEYzJUHho5fwzEks9d67i3dGc8BhEpH09kGr-icoa5LeRgT=uw@mail.gmail.com>
On Sat October 15 2011, Bj?rn Forsman wrote:
> On 15 October 2011 22:12, Jed Evnull <jedevnull@gmail.com> wrote:
> > I need to compile packages for arm with uclibc and statically link them. Am
> > I selecting the right tool with buildroot?
>
> I haven't done static linking with Buildroot. Is your reason for wanting static
> linking that you will not use the rest of the rootfs Buildroot gives you?
>
> > I compiled? buildroot-2011.08
> > with qemu_arm_versatile_defconfig.? The generated cross-compiler compiles
> > simple hello world programs w/o problems, but fails with typical autoconf
> > source packages.
>
> How did you try to build those packages? You will probably have most success
> if you integrate the package in Buildroot. This is done by (typically)
> writing two
> small files in packages/<yourpackage>/. See the buildroot docs for the details.
>
> > I tried to chroot into the generated image (chroot myimage /bin/sh --login)
> > to compile from there, but chroot fails with /bin/sh not found.
>
???
If your __not__ building on non-ARM, why do you need a cross-compiler?
If you __are__ building on non-ARM, how did you expect your host
machine to execute the ARM binaries inside of the chroot?
Me-thinks you need QEMU or such like to do that.
Mike
> AFAIK, few people use Buildroot to build a compiler into the rootfs,
> so this is not
> that well supported. It's better to use Buildroot as a cross-compile system, not
> native-compile.
>
> Best regards,
> Bj?rn Forsman
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
next prev parent reply other threads:[~2011-10-15 21:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 20:12 [Buildroot] buildroot noob help! Jed Evnull
2011-10-15 20:53 ` Bjørn Forsman
2011-10-15 21:06 ` Michael S. Zick [this message]
2011-10-15 21:59 ` Jed Evnull
2011-10-16 23:57 ` Grant Edwards
2011-10-17 10:50 ` Arnout Vandecappelle
2011-10-17 14:21 ` Grant Edwards
2011-10-17 19:41 ` Jed Evnull
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=201110151606.35102.minimod@morethan.org \
--to=minimod@morethan.org \
--cc=buildroot@busybox.net \
/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