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]

crosstool and configure.in patches


I've been building a gcc-2.95 (from uclibc) using crosstool.  This has
many patches, and one of them touches gcc/configure.in.  I figured for
this to work, I'd need to run autoconf.  To do this I put a really ugly
hack into the getandpatch.sh script:

@@ -72,6 +72,12 @@
            patch -p1 -f < $p
        fi
    done
+   # seh: ugly hack as I know the patches for this version of gcc
+   #      modify gcc/configure.in so autoconf must be re-run
+   if [ $BASENAME = "gcc-20011006" ]
+   then
+       ( cd gcc ; autoconf )
+   fi
    cd $TOP_DIR
 }


Does anyone have a better way of handling situations like this.


Regards, Stuart

------
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]