Thread: [complement-svn] SF.net SVN: complement: [1558] trunk/complement/explore/configure
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2007-05-16 09:51:46
|
Revision: 1558 http://svn.sourceforge.net/complement/?rev=1558&view=rev Author: complement Date: 2007-05-16 02:51:44 -0700 (Wed, 16 May 2007) Log Message: ----------- enhance help messages Modified Paths: -------------- trunk/complement/explore/configure Modified: trunk/complement/explore/configure =================================================================== --- trunk/complement/explore/configure 2007-05-16 09:50:21 UTC (rev 1557) +++ trunk/complement/explore/configure 2007-05-16 09:51:44 UTC (rev 1558) @@ -40,19 +40,17 @@ with --disable-shared, static libraries will be used in any case) --clean remove custom settings (file ${configmak}) and use default values - --with-cxx=<name> use <name> as C++ compiler - --with-cc=<name> use <name> as C compiler + --with-cxx=<name> use <name> as C++ compiler (use --target= for cross-compilation) + --with-cc=<name> use <name> as C compiler (use --target= for cross-compilation) --use-compiler-family=<name> use compiler family; one of: - gcc GNU compilers + gcc GNU compilers (default) icc Intel compilers - aCC HP\'s aCC compilers - CC SunPro\'s CC compilers - - default is 'gcc' family - --without-debug don\'t build debug variant - --without-stldebug don\'t build STLport\'s STLP_DEBUG mode + aCC HP's aCC compilers + CC SunPro's CC compilers + --without-debug don't build debug variant + --without-stldebug don't build STLport's STLP_DEBUG mode --enable-static build static - --disable-shared don\'t build shared + --disable-shared don't build shared EOF } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <com...@us...> - 2007-08-30 15:44:49
|
Revision: 1716 http://complement.svn.sourceforge.net/complement/?rev=1716&view=rev Author: complement Date: 2007-08-30 08:44:47 -0700 (Thu, 30 Aug 2007) Log Message: ----------- fix environment variables traits; add env vars description to help message Modified Paths: -------------- trunk/complement/explore/configure Modified: trunk/complement/explore/configure =================================================================== --- trunk/complement/explore/configure 2007-08-30 14:35:47 UTC (rev 1715) +++ trunk/complement/explore/configure 2007-08-30 15:44:47 UTC (rev 1716) @@ -59,6 +59,14 @@ --enable-static build static --disable-shared don't build shared +Environment variables: + + \$CXX C++ compiler name (use --target= for cross-compilation) + \$CC C compiler name (use --target= for cross-compilation) + \$CXXFLAGS pass extra options to C++ compiler + + Options has preference over environment variables. + EOF } @@ -195,13 +203,12 @@ done if [ "$CXX" != "" ]; then - if [ "$target_set" != "" ]; then - echo "For cross-compilation with gcc use --target option only" - else - write_option "$CXX" _FORCE_CXX - fi if [ "$cxx_set" != "" ]; then echo "Both --with-cxx and \$CXX set, using the first" + elif [ "$target_set" = "" ]; then + write_option "$CXX" _FORCE_CXX + else + echo "For cross-compilation with gcc use --target option only" fi if [ "$CC" = "" ] && [ "$cc_set" = "" ]; then echo "\$CXX set, but I don't see \$CC!" @@ -211,6 +218,8 @@ if [ "$CC" != "" ]; then if [ "$cxx_set" != "" ]; then echo "Both --with-cc and \$CC set, using the first" + else + write_option "$CC" _FORCE_CC fi fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <com...@us...> - 2007-11-23 12:30:46
|
Revision: 1794 http://complement.svn.sourceforge.net/complement/?rev=1794&view=rev Author: complement Date: 2007-11-23 04:29:50 -0800 (Fri, 23 Nov 2007) Log Message: ----------- nice trick to write absolute path Modified Paths: -------------- trunk/complement/explore/configure Modified: trunk/complement/explore/configure =================================================================== --- trunk/complement/explore/configure 2007-11-22 13:31:11 UTC (rev 1793) +++ trunk/complement/explore/configure 2007-11-23 12:29:50 UTC (rev 1794) @@ -1,8 +1,8 @@ #!/bin/sh -# Time-stamp: <07/08/29 11:36:31 ptr> +# Time-stamp: <07/11/23 15:24:31 ptr> -base=`dirname $0` +base=`cd \`dirname $0\`; echo $PWD` configmak=$base/Makefiles/gmake/config.mak This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <com...@us...> - 2008-01-16 22:12:51
|
Revision: 1803 http://complement.svn.sourceforge.net/complement/?rev=1803&view=rev Author: complement Date: 2008-01-16 14:12:50 -0800 (Wed, 16 Jan 2008) Log Message: ----------- don't override compiler, if already defined Modified Paths: -------------- trunk/complement/explore/configure Modified: trunk/complement/explore/configure =================================================================== --- trunk/complement/explore/configure 2008-01-11 13:41:47 UTC (rev 1802) +++ trunk/complement/explore/configure 2008-01-16 22:12:50 UTC (rev 1803) @@ -1,6 +1,6 @@ #!/bin/sh -# Time-stamp: <07/11/23 15:24:31 ptr> +# Time-stamp: <08/01/17 01:11:57 ptr> base=`cd \`dirname $0\`; echo $PWD` @@ -15,6 +15,11 @@ echo $2 := $target >> ${configmak} } +write_over_option() { + target=`echo $1 | sed -e 's/^[^=]*=//'` + echo $2 ?= $target >> ${configmak} +} + print_help() { cat <<EOF Configuration utility. @@ -176,8 +181,8 @@ ;; --use-compiler-family=*) case `echo $option | sed -e 's/^[^=]*=//'` in - gcc|icc|aCC|CC) - write_option "$option" COMPILER_NAME + gcc|icc|aCC|CC|dmc) + write_over_option "$option" COMPILER_NAME ;; *) echo "Not supported compilers family" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |