[uClibc]LFS on v850

Erik Andersen andersen at codepoet.org
Fri Feb 22 05:10:22 UTC 2002


On Fri Feb 22, 2002 at 12:13:21PM +0900, Miles Bader wrote:
> So, it seems that I need some way to disable the standard definition of
> truncate64, so I can avoid the compilation error.  Any suggestions on
> the best way to do that?

How about we just adjust syscalls.c with something like:

    -#ifdef __UCLIBC_HAVE_LFS__
    +#if defined __UCLIBC_HAVE_LFS__ && ! defined(__v850__)

> Some possibilities that come to mind include --
> 
>  (1) A Config-file option that explicitly says `don't use the standard
>      truncate64'.  Then I'd just turn it on and put my own version in
>      sysdeps/linux/v850/.

Yup.  Thats what I did for m68k for iopl, where the
m68k asm/unistd.h kernel header file is broken.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list