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] |
On Wed, 2004-08-18 at 16:54, Dan Kegel wrote: > Thanks for the solaris fix. (I think I've seen that before, > but didn't carry it forward to binutils-2.15. I will now.) OK > The following change is a bit much, though: > > >>--- crosstool.sh 2004-07-06 17:43:14.000000000 -0400 > >>+++ crosstool.sh.jcd 2004-08-18 11:26:31.696913000 -0400 > >>@@ -177,6 +177,7 @@ > >> # autodetect kernel version from contents of Makefile > >> KERNEL_VERSION=`awk '/^VERSION =/ { print $3 }' $LINUX_DIR/Makefile` > >> KERNEL_PATCHLEVEL=`awk '/^PATCHLEVEL =/ { print $3 }' $LINUX_DIR/Makefile` > >>+KERNEL_SUBLEVEL=`awk '/^SUBLEVEL =/ { print $3 }' $LINUX_DIR/Makefile` > >> > >> case "$KERNEL_VERSION.$KERNEL_PATCHLEVEL.x" in > >> 2.2.x|2.4.x) make ARCH=$ARCH symlinks include/linux/version.h > >>@@ -344,7 +345,7 @@ > >> ${GLIBC_DIR}/configure --prefix=/usr \ > >> --build=$BUILD --host=$TARGET \ > >> ${GLIBC_EXTRA_CONFIG} \ > >>- --without-tls --without-__thread --enable-kernel=2.4.3 \ > >>+ --without-tls --without-__thread --enable-kernel=${KERNEL_VERSION}.${KERNEL_PATCHLEVEL}.${KERNEL_SUBLEVEL} \ > >> --without-cvs --disable-profile --disable-debug --without-gd \ > >> $SHARED_MODE \ > >> --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR > > This means the resulting toolchain will only be able to > generate executables that match more or less exactly the > kernel sources it was built with. Are you sure you want that? > Some users will expect their programs to be able to run on > older kernels (like 2.4.3). For me it is OK but I see your point. Drop it if you think it is too much constraint. JC > - Dan ------ 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] |