All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <matthieu.castet@parrot.fr>
To: buildroot@busybox.net
Subject: [Buildroot] external toolchain : lot's of package broken *.mk makefile
Date: Thu, 15 Feb 2007 16:21:07 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070215T170827-634@post.gmane.org> (raw)

Hi,

I am very interrested to use the external toolchain features, because we want to
use glibc.

The problem with lot's of pakage *.mk makefile is that they assume that the
external libs will be installed in the toolchain dir not another dir.

For example for the procps pakage, there is an error [1].
The solution is to add somethings like
CPPFLAGS=-I$(STAGING_DIR)/include CFLAGS=-I$(STAGING_DIR)/include
LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" 

when calling the build process.

Matthieu


[1]
/opt/arm-2006q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../
arm-none-linux-gnueabi/bin/ld:
cannot find -lncurses

                 reply	other threads:[~2007-02-15 16:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=loom.20070215T170827-634@post.gmane.org \
    --to=matthieu.castet@parrot.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.