Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problem with external toolchain sysroot and eclipse
Date: Tue, 16 Apr 2013 09:33:25 +0200	[thread overview]
Message-ID: <20130416093325.57cfc00e@skate> (raw)
In-Reply-To: <6119D107D82B0940B389FAED3F2DDE66158823C4@Ansuz.hms.se>

Dear Lars Dunemark,

On Tue, 16 Apr 2013 07:24:51 +0000, Lars Dunemark wrote:

> Recently, we discovered that it has become something strange with our external toolchain builds.
> 
> We discovered this when we wanted to start using Eclipse integration for buildroot and build applications outside buildroot.
> 
> After some investigation we discovered that the ext-toolchain-wrapper had changed and received support for relative paths.
> After adding some debug prints:
> toolchain/toolchain-external/ext-toolchain-wrapper.c
> 122         printf("path: %s, sysroot: %s\n", path, sysroot);
> 
> I got the the following result:
> 
> $ pwd
> /media/build/source
> $ arm-cortex_a8-linux-gnueabi-gcc
> path: /media/build/source/toolchain/bin/arm-cortex_a8-linux-gnueabi-gcc, sysroot: /media/usr/arm-buildroot-linux-gnueabi/sysroot
> arm-cortex_a8-linux-gnueabi-gcc: no input files
> 
> 
> $ ./buildroot/output/host/usr/bin/arm-cortex_a8-linux-gnueabi-gcc
> path: /media/build/source/toolchain/bin/arm-cortex_a8-linux-gnueabi-gcc, sysroot: /media/build/source/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot
> arm-cortex_a8-linux-gnueabi-gcc: no input files

What is /media/build/source/toolchain/ ? How did you install things in
there ?

The toolchain that you must use with Buildroot is the one in
output/host/usr/bin/. Using something else will most likely not work
properly.

Can you give details about your /media/build/source/toolchain/
directory so that we can understand what is your configuration? It
doesn't look a standard way of using Buildroot.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-04-16  7:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16  7:24 [Buildroot] Problem with external toolchain sysroot and eclipse Lars Dunemark
2013-04-16  7:33 ` Thomas Petazzoni [this message]
2013-04-16  9:51   ` Lars Dunemark
2013-04-16 11:16   ` Lars Dunemark
2013-04-16 11:47     ` Greg Beresford
2013-04-16 19:02       ` Lars Dunemark

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=20130416093325.57cfc00e@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