RE: [uClinux-dev] ARM uCLinux and newlib

From: Joe deBlaquiere (joe@wirespeed.com)
Date: Mon Jul 10 2000 - 16:04:37 EDT


Actually, my experience is that you at least need the header files from some
c library. uC-libc's headers are kinda sparse. I actually used the glibc
headers, but that wasn't much fun...

a good place to start would be to copy the uC-libc headers to
<prefix>/<arch>/sys-include  and then try compiling.

If you want to short circuit the process, the tools binaries are available
as a file "atool_a2b.tar.gz" from
ftp://ftp.wirespeed.com/pub/uClinux

of course this is an older version of the compiler, but it works. And it's
much easier to compile the tools once you have the tools compiled ( chicken
and egg problem... )

Good luck!

> -----Original Message-----
> From: owner-uclinux-dev@uClinux.org
> [mailto:owner-uclinux-dev@uClinux.org]On Behalf Of D. Jeff Dionne
> Sent: Monday, July 10, 2000 1:51 PM
> To: uclinux-dev@uClinux.org
> Subject: Re: [uClinux-dev] ARM uCLinux and newlib
>
>
> Dan Carlson <decarlson1@juno.com> said:
>
> > Hello,
> >
> > I am having trouble building the cross compiler based on
> the instructions
> > found on http://aplionet.aplio.fr/uclinux/uclinux-arm.htm
> and I think it is
> > because I don't have newlib installed.  This webpage does
> not discuss how to
> > do that.  Can anyone offer some suggestions?
>
> newlib is not used with uClinux (it's way to big).  Use
> uC-libc insted.  But
> yes, the compiler looks for libc.  You need to add...
>
> TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc
>
> to the appropriate file (for m68k it is config/m68k/t-m68kbare)
>
> >
> >
> > Dan
> >
> > This message resent by the uclinux-dev@uclinux.org list server
> http://www.uClinux.org/
> >
>
>
>
> --
> D. Jeff Dionne
> Jeff@rt-control.com
>    -VP Research, Office of the CTO
>
> Lineo - Put Linux Anywhere
>
>
> This message resent by the uclinux-dev@uclinux.org list
> server http://www.uClinux.org/
>

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:15 EDT