All of lore.kernel.org
 help / color / mirror / Atom feed
* how to use sde toolchain to compile a hello world?
@ 2006-02-09  6:35 zhuzhenhua
  2006-02-09  9:01 ` Geert Uytterhoeven
  2006-02-09 10:01 ` Nigel Stephens
  0 siblings, 2 replies; 3+ messages in thread
From: zhuzhenhua @ 2006-02-09  6:35 UTC (permalink / raw)
  To: linux-mips

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?


Best regards

Zhuzhenhua

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to use sde toolchain to compile a hello world?
  2006-02-09  6:35 how to use sde toolchain to compile a hello world? zhuzhenhua
@ 2006-02-09  9:01 ` Geert Uytterhoeven
  2006-02-09 10:01 ` Nigel Stephens
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2006-02-09  9:01 UTC (permalink / raw)
  To: zhuzhenhua; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to use sde toolchain to compile a hello world?
  2006-02-09  6:35 how to use sde toolchain to compile a hello world? zhuzhenhua
  2006-02-09  9:01 ` Geert Uytterhoeven
@ 2006-02-09 10:01 ` Nigel Stephens
  1 sibling, 0 replies; 3+ messages in thread
From: Nigel Stephens @ 2006-02-09 10:01 UTC (permalink / raw)
  To: zhuzhenhua; +Cc: linux-mips

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?
>
>   

The SDE GNU toolchain is configured to build "bare-iron" embedded 
applications, not Linux applications. Using it to build Linux apps would 
be hard. You need a compiler configured as a Linux native or cross 
compiler. See http://www.linux-mips.org/wiki/Toolchains fpr more 
information.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-09  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09  6:35 how to use sde toolchain to compile a hello world? zhuzhenhua
2006-02-09  9:01 ` Geert Uytterhoeven
2006-02-09 10:01 ` Nigel Stephens

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.