With the sole exception of having to install curses and genromfs (from
sourceforge) (it was a new very plain system) these steps worked fine.
And I am a uCLinux and Arm nubie.

On Tue, Nov 17, 2009 at 7:40 PM, Greg Ungerer <g...@snapgear.com> wrote:

> Hi,
>
>
> ucli...@browserseal.com wrote:
>
>> 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 ! :)
>>
>
> Sorry, totally disagree.
>
> 1.  goto web page http://www.uclinux.org/pub/uclinux/dist
> 2.  get uClinux-dist-20090618.tar.bz2
> 3.  follow "ARM Tools" link (on that page) and get latest
>    arm-linux-tools-20070808.tar.gz and install
> 4.  tar xjf uClinux-dist-20090618.tar.bz2
> 5.  cd uClinux-dist
> 6.  make menuconfig
>    choose GDB/Skyeye
>    choose linux-2.6.x kernel
>    choose uClibc
>    save and exit
> 7.  make
>
> Builds to completion, no errors.
>
>
>
>  Should I make a patch, open a bug or something ?
>>
>
> All your issues above (excepting item 1) are to do with "other"
> toolchains. Feel free to send patches to fix those.
>
> Regards
> Greg
>
>
> ------------------------------------------------------------------------
> Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
> SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
> 825 Stanley St,                             FAX:         +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
>
> _______________________________________________
> 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
>
_______________________________________________
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