linux-mips
[Top] [All Lists]

Re: how to use sde toolchain to compile a hello world?

To: zhuzhenhua <zzh.hust@gmail.com>
Subject: Re: how to use sde toolchain to compile a hello world?
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 9 Feb 2006 10:01:40 +0100 (CET)
Cc: linux-mips <linux-mips@linux-mips.org>
In-reply-to: <50c9a2250602082235k1add529ctff120d0184425048@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250602082235k1add529ctff120d0184425048@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 9 Feb 2006, zhuzhenhua wrote:
> some toolchain can use as "xxx-gcc -o hello hello.c" to compile, but
> sde toolchain can't find the printf function, does it means sde is not
> a complete toolchain to compile applications?

printf() is part of the C-library, which is distributed separately.
So you have to install a C-library for the target (e.g. glibc, uClibc,
dietlibc, newlib, klibc, ...).

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>