This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstools-patches (was Re: binutils-uClibc followup patch)


> Found some problems with uClibc config for mipsel build. Fudged my way 
> through that, and get a bit further:

Sorry to leave you hanging for so long, Charlie.  I just got back from
vacation.  As I mentioned in a prior post to the list, I won't be able
to get at my work area for this stuff until tomorrow (at least), but
I'll take a swing at answering what I can off the top of my head.

> make -C libc/sysdeps/linux/mips headers
> make[1]: Entering directory 
> `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/libc/sysdeps/linux/mips'
> cp -f 
> /home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/uClibc-0.9.24/libc/sysdeps/linux/mips/sgidefs.h 
> ../../../../include/
> cp -f 
> /home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/uClibc-0.9.24/libc/sysdeps/linux/mips/fpu_control.h 
> ../../../../include/
> make[1]: Leaving directory 
> `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/libc/sysdeps/linux/mips'
> (cd extra/locale; zcat uClibc-locale-030818.tgz | tar -xvf -)
> zcat: uClibc-locale-030818.tgz: No such file or directory

uClibc-locale-030818.tgz is a separate download, not included in the uClibc
source tarball.  I wrote provisions into getandpatch.sh to download it for
you and put it in the proper place.  But if you downloaded and unpacked
uClibc by hand, then you'll have to add the locale tarball by hand also.
The URL can be found in the getandpatch.sh script.  Just wget it and drop
it into the extra/locale directory of your uClibc source tree.

> make -C ldso;
> make[2]: Entering directory 
> `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/ldso/ldso'
> Makefile:26: ../../Rules.mak: No such file or directory
> ls: /*.S: No such file or directory
> ls: /*.S: No such file or directory
> Makefile:89: target `/' doesn't match the target pattern
> make[2]: *** No rule to make target `../../Rules.mak'.  Stop.

All that looks like a bad or missing Makefile patch.  You're using a newer
version of uClibc than I am.  So you had a few problems with the makefiles
patch applying, right?  Looks like ldso/ldso/Makefile didn't get patched
properly.  If you send me that Makefile, I can figure out how it should
look, and send you back a proper one.  It might take me until the end of
the week, though, depending how bad the post-vacation crunch is.


                          -----Carl

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]