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] |
Hi > > I followed TheNop's suggestions and I was able to build > > gcc-3.3.5 and glibc-2.3.5 with kernel 2.4.26 for mips and > > mipsel. However those patches do not appear in official crosstool. > > > > Do you plan to use the patches? > > This way maybe the build matrix can be updated, now it just > > red and yellow. :-( > > I just added the patch from > http://sources.redhat.com/bugzilla/show_bug.cgi?id=758 > to patchs/glibc-2.3.[45]. Hopefully that's enough. > If not, let me know. No it is not :-( You have to apply one more patch to the glibc and one patch to crosstool.sh. Although they are included in the mail I have tested them with the glibc-2.3.5, modified a little and attached them to this mail for your convenience. BR, Matej
--- glibc-2.3.5/sysdeps/mips/mips32/Makefile 2005-06-28 08:11:09.000000000 +0200 +++ glibc-2.3.5-matej/sysdeps/mips/mips32/Makefile 2005-07-06 08:07:15.014653176 +0200 @@ -1,3 +1,7 @@ +ifeq ($(filter -DBOOTSTRAP_GCC,$(CFLAGS)),) ifeq ($(filter -mabi=32,$(CC)),) CC += -mabi=32 endif +else +CC += -D"_MIPS_SZPTR=32" +endif
--- crosstool-0.35/crosstool.sh 2005-05-20 08:43:47.000000000 +0200 +++ crosstool-0.35-matej/crosstool.sh 2005-07-01 12:15:23.000000000 +0200 @@ -330,7 +330,7 @@ # Another workaround might be to tell configure to not use any cross options to $(CC). # The real fix would be to get install-headers to not generate errlist-compat.c. libc_cv_ppc_machine=yes \ - make sysdeps/gnu/errlist.c + make CFLAGS=-DBOOTSTRAP_GCC sysdeps/gnu/errlist.c mkdir -p stdio-common # sleep for 2 seconds for benefit of filesystems with lousy time resolution, like FAT, # so make knows for sure errlist-compat.c doesn't need generating @@ -338,7 +338,7 @@ touch stdio-common/errlist-compat.c fi libc_cv_ppc_machine=yes \ - make cross-compiling=yes install_root=${SYSROOT} $GLIBC_SYSROOT_ARG install-headers + make cross-compiling=yes install_root=${SYSROOT} CFLAGS=-DBOOTSTRAP_GCC $GLIBC_SYSROOT_ARG install-headers # Two headers -- stubs.h and features.h -- aren't installed by install-headers, # so do them by hand. We can tolerate an empty stubs.h for the moment.
------ 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] |