This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Newlib for embedded linux systems?


Hi,

Thanks for the pointers.

Well, I happened to come across this comment on newlib and since I am
evaluating the suitability of using newlib as the C library on an embedded
powerpc system running Linux, I would put this here for clarification.

"Newlib is a free C library intended for use on embedded systems, with less
restrictive licensing than the GPL. However, it currently lacks the libgloss
layer necessary to use it as the C library under Linux."

May be, it is all the past.
Does newlib(1.11) come with libgloss port for Linux OS?
I mean, can I use newlib as the (shared or static) C-lib for powerpc
embedded systems running Linux?
What are the required modification/considerations, if I want to port it
myself?

One more question, my intentions is to bring up a customized (I mean, with
no unnecessary code in flash/ram) Linux system on a PowerPC (MPC8260) board,
to run a couple of application tasks (threads/processes) concurrently.
Glibc is massive in size, I understand. Is newlib a good choice here?

Rgds,
Ramanathan G A

-----Original Message-----
From: J. Johnston [mailto:jjohnstn@redhat.com]
Sent: Wednesday, June 04, 2003 11:12 PM
To: Anandapadmanabhan,Ramanathan
Cc: newlib@sources.redhat.com
Subject: Re: err configuring newlib for powerpc-linux


Anandapadmanabhan,Ramanathan wrote:
> Hi All,
>
> I am trying to setup an cross development envrn. for powerpc-linux on
> i686-linux.
> Built binutils 2.13.90.0.4 and GCC (cross) 3.2 and was then trying to
> configure and compile newlib 1.11.0
> (anything wrong with using newlib here?. Mine is an embedded powerpc
> -MPC8260- target system)
>

Newlib is barred by the *-*-linux* catchall in the top-level configure.in
(i.e. it is not newlib that is preventing this).  However, do you really
need
powerpc-linux?  Would powerpc-eabi or powerpc-elf suffice for your embedded
application?

-- Jeff J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]