So, this is what it takes to compile the latest version 20090618 of
uClinux with ARM,

1. Change libc from glibc to uClibc (compilation with glibc will fail
during the patching phase)
2. Change uClibc configuration from CONFIG_ARM_OABI to CONFIG_ARM_EABI
(OABI will fail with '__NR_syscall' undeclared message)
3. In  uClibc/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h change
  extern long int testandset (int *spinlock);
  to
  static long int testandset (int *spinlock);
(otherwise the compilation will fail with multiple definition of
`testandset' error)
4. Do not use latest, i.e. 2009q3 Codesourcery gcc version, use  gcc
version 4.3.3 (Sourcery G++ Lite 2009q1-163) instead
5. In arm-2009q1/lib/gcc/arm-uclinuxeabi/4.3.3/include make a link to
./include-fixed/limits.h (otherwise the compilation will fail with
error: limits.h: No such file or directory)

I would say that it is an impressive list which means that currently
uClinux ARM support is pretty much broken ! :)

Should I make a patch, open a bug or something ?
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to