From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problems building SDL, SDL_image, SDL_ttf, SDL_gfx via buildroot-2013.11
Date: Wed, 29 Jan 2014 10:17:09 +0100 [thread overview]
Message-ID: <20140129101709.5cfa5f48@skate> (raw)
In-Reply-To: <CAGrGpJAdgzY_ogbjNK+u05-p_xsaY-4wgLh87=uhmdKhsAg9Ng@mail.gmail.com>
Dear Peter Thompson,
On Wed, 29 Jan 2014 02:08:41 -0700, Peter Thompson wrote:
> You have convinced me to give up on static compiles as well as "from
> scratch" builds. We did directfb builds both "from scratch" and via
> buildroot in the Free Electrons course and I found it extremely informative
> and helpful.
The "from scratch" lab in the course is here to give participants a
feeling on the complexity of cross-compilation. But if a component is
already properly packaged in a build system, then there is really no
point to spend time solving once again the problems that were already
solved by the person who created the package: it's the whole point of
having a build system.
The "from scratch" lab gives some basic ideas, in case you need to
create your own package in such or such build system, in which case you
would probably face some cross-compilation issues.
> Other notes
> -- pmtroot is the root I create from buildroot (but outside of buildroot)
> via "sudo tar xvf rootfs.tar" command.
> -- My path to arm-linux-gcc is for cross-compiles as in command
> "arm-linux-gcc myprogram.c". I will build buildroot in a different
> session to avoid the potential errors you mention.
Still. Even for building your own applications outside of Buildroot,
but against libraries built by Buildroot, you should *NOT* use the
cross-compiler of the external toolchain directly, but instead use the
one generated by Buildroot in outpust/host/usr/bin.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2014-01-29 9:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-09 3:38 [Buildroot] Problems building SDL, SDL_image, SDL_ttf, SDL_gfx via buildroot-2013.11 Peter Thompson
2014-01-09 8:25 ` Thomas Petazzoni
[not found] ` <20140109153734.19dbd074@skate>
2014-01-14 18:29 ` Peter Thompson
2014-01-20 21:26 ` Peter Thompson
2014-01-29 7:39 ` Thomas Petazzoni
2014-01-29 9:08 ` Peter Thompson
2014-01-29 9:17 ` Thomas Petazzoni [this message]
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=20140129101709.5cfa5f48@skate \
--to=thomas.petazzoni@free-electrons.com \
--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