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] glibc instead of ulibc ?
Date: Wed, 1 Aug 2012 23:16:35 +0200	[thread overview]
Message-ID: <20120801231635.08b7d808@skate> (raw)
In-Reply-To: <1343854870.70701.YahooMailNeo@web164605.mail.gq1.yahoo.com>

Le Wed, 1 Aug 2012 14:01:10 -0700 (PDT),
Zoran Djordjevic <djdjdjole@yahoo.com> a ?crit :

> I've built root file system for ARM board and now try to cross
> compile simple (graphical) program, using Lazarus.
> Althouth I'm pretty sure that I correctly configured Lazarus, some
> errors emerged?(eg. libX11.so: undefined reference to strcpy, ... fclose; fseek ...).

These functions are very basic stuff in uClibc, so your problem is
most likely not uClibc here.

> Seems to me?that at least part of?the?problem lies in?having uclibc,
> instead of glibc. 
> So my question is - how (if possible) can I?build root file system 
> with glibc instead of?uclibc.

You have two choices:

 * Use the external toolchain backend, which allows you to use a
   pre-built CodeSourcery or Linaro toolchain for ARM, or build your
   own toolchain with Crosstool-NG, and then use it into Buildroot as
   an external toolchain.

 * Use the Crosstool-NG backend, which will tell Buildroot to use
   Crosstool-NG to build the toolchain.

Both of those solutions will allow you to use the glibc C library.

Best regards,

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

  reply	other threads:[~2012-08-01 21:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 21:01 [Buildroot] glibc instead of ulibc ? Zoran Djordjevic
2012-08-01 21:16 ` Thomas Petazzoni [this message]
     [not found]   ` <1343913806.30162.YahooMailNeo@web164601.mail.gq1.yahoo.com>
2012-08-02 13:26     ` Thomas Petazzoni
2012-08-02 19:38       ` Zoran Djordjevic
2012-08-02 19:42         ` Thomas Petazzoni
2012-08-02 22:00           ` Zoran Djordjevic
2012-08-03 13:06             ` Thomas Petazzoni
2012-08-03 14:32               ` Zoran Djordjevic
2012-08-03 14:44                 ` Eric Bénard
2012-08-03 12:59           ` Zoran Djordjevic
2012-08-03 13:03             ` Thomas Petazzoni
     [not found]               ` <1344004443.52239.YahooMailNeo@web164602.mail.gq1.yahoo.com>
2012-08-03 14:42                 ` Thomas Petazzoni

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=20120801231635.08b7d808@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