Re: [uClinux-dev] Date: Thu, 1 Feb 2001 09:46:22 +1100

From: David McCullough (davidm@lineo.com)
Date: Wed Jan 31 2001 - 20:26:11 EST


Jivin FAZIO,VINCENT (Non-HP-Australia,ex2) lays it down ...
> I am considering porting some sort of C library (ucLibc or glibc) to the
> Hitachi SH processor, for uClinux. For both libraries there is some machine
> code to be rewritten, and a recompilation. Is the ONLY difference between
> ucLibc and glibc their size? I could just as easily use glibc, right?

uClibc has very little assembler and is very portable.  I can't comment on
assembler in glibc as I haven't played there recently.

> Another question: has anyone tried to use non-relocatable (non-PIC) execs
> with uClinux? As long as memory placement is carefully planned and there's
> only a few applications needed anyway, it will work?

The coldfire port doesn't use PIC code,  it relocates the executables
at execution time.  It costs you a little in RAM but it works quite well.
If you want examples on how this is done just download the latest coldfire
package from:

	http://www.moretonbay.com/coldfire/source.html

Probably best to get the unstable release,  it is a lot more recent :-)
Also be sure to get the elf2flt and genromfs utilities,

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (The Embedded Solutions Company)
davidm@lineo.com   Fx: +61 7 3891 3630  PO Box 925, Kenmore QLD 4069, Australia
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:28 EDT