[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hello and some toolchain questions



On Thu, 2004-07-08 at 22:31, Nikita V. Youshchenko wrote:
> Is for newlib, I'm not currently aware what newlib is and what for it is
> needed. Please point me to appropriate documentation; if it's something
> that's a good idea to have, I'll try to enable it.

It's an embedded C library. http://sources.redhat.com/newlib/

I think more people would be interested in uClibc,
http://www.uclibc.org/, another embedded C library.  I did a quick
little test trying to build a cross compiling toolchain with the
standard deb sources.

I built binutils with the patch, I got linked from this list.  I then
copied the libs and headers from a previous build of uClibc into
/usr/arm-linux/, and then I tried grabbing the gcc source and following
the instructions for cross compiling by setting the environment variable
GCC_TARGET, and adding uClibc specifics into the dpatch system in gcc.

This will fail at the C++ locale build for libstdc++, and I haven't had
the time to debug this yet.  There must be something different about the
stock gcc source I usually use and the patches Debian applies.

David

-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: dmeggy@techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~



Reply to: