[Clfs-support] Fwd: Re: Mini2440 W.I.P.

Ron McDowell rcm at fuzzwad.org
Mon Jul 30 15:29:38 PDT 2012


On 7/25/12 10:56 AM, Andrew Bradford wrote:
> On Wed, 25 Jul 2012 10:35:59 -0500
> Ron McDowell<rcm at fuzzwad.org>  wrote:
>
>> On 7/25/12 10:26 AM, Ron McDowell wrote:
>>> Yay!!  Success!!!  At least this far... Using linux-2.6.38.2,
>>> binutils-2.22, and gcc-4.6.1... uClibc-0.9.33 built exactly as
>>> described in
>>> CLFS-EMBEDDED-GIT-0.0.1-20110514/arm/cross-tools/uclibc.html, using
>>> the existing uClibc-0.9.31-configs-2.patch.  Onward through the fog! :)
>> One further note...during "make oldconfig" I chose the default answers
>> for any new features...they seemed right for me.
> Awesome! :)
>
> I'll (sometime, hopefully soon) work to update the embedded book to
> have uClibc 0.9.33 and maybe simplify the configs patch.  I believe the
> defaults should be rather good choices except for a few key areas.
>
> Thanks,
> Andrew
Further progress to report...I have built error-free [but not tested yet 
due to unrelated hardware failure :( ] the following updated 
versions...these are the latest and greatest of everything except the 
kernel.

linux-2.6.38.2:
     no changes.  will tackle at a later date.

gmp-5.0.1 --> gmp-5.0.5:
     directory name changed

mpfr-3.0.0. --> mpfr-3.1.1:
     directory name changed
     note the mpfr-3.1.1 from the .fr website is faulty...I used the one 
from ftp.gnu.org

binutils-2.21 --> binutils-2.22:
     directory name changed

gcc-4.6.0 --> gcc-4.7.1:
     directory name changed.
     gcc-4.6.0-ucblibc-arm-softfloat-2.patch replaced with the following 
seds:
         cp gcc/config/arm/linux-elf.h gcc/config/arm/linux-elf.h.orig
         sed '/^#define LIBGCC_SPEC/s/.*/#define LIBGCC_SPEC "-lgcc"/' \
           gcc/config/arm/linux-elf.h.orig > gcc/config/arm/linux-elf.h
         cp libgcc/config/arm/t-linux libgcc/config/arm/t-linux.orig
         sed '/_arm_addsubdf3 _arm_addsubsf3/s/.*/       _arm_addsubdf3 
_arm_addsubsf3 \\\
           _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \\\
           _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \\\
           _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \\\
           _arm_fixsfsi _arm_fixunssfsi/' \
           libgcc/config/arm/t-linux.orig > libgcc/config/arm/t-linux
     In other words, the spirit of the patch remains, but they are in 
slightly
     different places/files.

uClibc-0.9.31 --> uClibc-0.9.33:
     directory name changed.
     uClibc-0.9.31-configs-2.patch works fine.
     If you want to build c++ in the next step below, make sure your 
.config here contains:
         UCLIBC_SUSV4_LEGACY=y
         UCLIBC_SUSV3_LEGACY=y
         # UCLIBC_HAS_FTW is not set

2nd pass gcc-4.6.0 --> gcc-4.7.1:
     directory name changed.
     I included c++ as noted in the CLFS book.

busybox-1.18.4 --> busybox-1.20.2:
     directory name changed.
     busybox-1.18.4.patch still applies but now make oldconfig asks some 
new questions.
       [deviations from defaults noted here...these were my choices and 
may be suboptimal]:
         Path to sysroot (SYSROOT) [] (NEW) ${CLFS}




-- 
Ron McDowell
San Antonio TX




More information about the Clfs-support mailing list