diff --git a/configure b/configure index 770ea70..4ddb901 100755 --- a/configure +++ b/configure @@ -114,12 +114,6 @@ for opt do ;; --cc=*) cc=`echo $opt | cut -d '=' -f 2` ;; - --extra-cflags=*) CFLAGS="${opt#--extra-cflags=}" - ;; - --extra-ldflags=*) LDFLAGS="${opt#--extra-ldflags=}" - ;; - --extra-libs=*) extralibs=${opt#--extra-libs=} - ;; --cpu=*) cpu=`echo $opt | cut -d '=' -f 2` ;; --enable-gprof) gprof="yes" @@ -228,6 +222,10 @@ echo " --source-path=PATH path of source code [$source_path]" echo " --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]" echo " --sysroot=PREFIX prepend PREFIX to library/include paths []" echo " --cc=CC use C compiler CC [$cc]" +echo " --cpu=CPU crosscompile to (x86 x86-64 c67 il armv4l powerpc mips s390 alpha) [$cpu]" +echo " --enable-cross build crosscompiler for all supported platforms" +echo " --enable-mingw32 build crosscompiler for mingw32 (PREFIX=i386-mingw32)" +echo " --enable-gprof use gprof" echo " --with-libgcc use /lib/libgcc_s.so.1 instead of libtcc1.a" echo "" #echo "NOTE: The object files are build at the place where configure is launched"