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] |
Here's a diff that illustrates the things Karim got that I think Bill's script missed. I'm building with it now, will probably have a corrected version later (and will be sorry I posted this :-) - Dan
;; @@ -284,7 +286,7 @@
# for these targets, gcc's libgcc2 assumes the presence of some # header files that we won't have until after glibc or newlib are - # built. When we throw in --without-headers --without-newlib, the + # built. When we throw in --without-headers --with-newlib, the # configure process throws in a: # # TARGET_LIBGCC2_CFLAGS=-Dinhibit_libc @@ -365,10 +367,16 @@ mkdir build-glibc; cd build-glibc
+ make all install info install-info install_root=${PREFIX} 2>&1 | tee make.log + + # Remove absolute paths from ld.so; makes cross ld work, doesn't hurt native ld.so + # FIXME: ought to use sed instead of just assuming we know what's in ld.so + mv ${PREFIX}/lib/ld.so ${PREFIX}/lib/ld.so.org + echo "GROUP ( libc.so.6 libc_nonshared.a )" > ${PREFIX}/lib/ld.so
# these targets use newlib arm-elf | h8300-coff | h8300-hitachi-hms | m68k-coff | m68k-elf | powerpc-eabi | sh-elf | sh-hms) @@ -381,10 +389,10 @@ ../${NEWLIBDISTO}/configure --target=$TARGET --prefix=$PREFIX \ 2>&1 | tee configure.log
+ make all install info install-info 2>&1 | tee make.log esac
-make all install info install-info 2>&1 | tee make.log cd ..
------ 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] |