Re: EABI, softfloat, etc...
Mike Frysinger <
vapier@...>
2007-08-01 14:14:04 GMT
On Wednesday 01 August 2007, Arturo Garcia wrote:
> I am looking for resources that explain
*shrug* if you find any, please post to the list for others
> the differences between glibc, glibceabi, eabi,
> softfloat, as you can see... I'm a bit lost.
there are two big libc players:
- glibc: full featured (all of POSIX and then some)
- uclibc: meant to be small, but lacks some features (critically so for some)
in the arm world, there are two ABIs:
- oabi: "Old ABI": the classic ARM ABI
- eabi: "Embedded ABI": the new ARM ABI
EABI is "better" in terms of size and being able to address design decisions
that ended up being problematic in OABI ... something that you really only
find out about after using the same ABI for years and years. unfortunately,
the support status of EABI can be a bit tipsy: you have to have very recent
versions of everything (binutils, gcc, libc, kernel) or you can forget it.
in the Linux world, there are a couple of ways to tackle the FPU issue:
- put a hardware FPU on the chip/board and generate floating point
instructions in userspace, thus increasing BOM while decreasing software
development.
- include software FPU emulation in the kernel and generate floating point
instructions in userspace, thus (significantly) decreasing runtime
performance will emulating these floating point operations in kernel space,
but again you save time/money on software development.
- build userspace with a softfloat toolchain, thus replacing floating point
(Continue reading)