diff options
Diffstat (limited to 'modules/gcc.uselect')
-rw-r--r-- | modules/gcc.uselect | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/modules/gcc.uselect b/modules/gcc.uselect deleted file mode 100644 index 10a1fad..0000000 --- a/modules/gcc.uselect +++ /dev/null @@ -1,41 +0,0 @@ -module gcc{ - description "GCC Version Switcher" - version "0.1" - author "mephx.x@gmail.com" -} gcc - -system action profile { - description "Change GCC's /usr/bin/gcc Version" - type runnable - parameters "<target>" - usage "<target> Target GCC profile." - file moo.bash { - #!/bin/bash - do_moo() { - if [ -z $1 ] - then - gcc-config -l - else - gcc-config $@ - fi - } - do_moo $@ - } moo.bash -} profile - -system action bin { - description "Print path where binaries of the given/current profile are located." - type runnable - file moo.bash { - #!/bin/bash - do_moo() { - if [ -z $1 ] - then - gcc-config -B - else - gcc-config -B - fi - } - do_moo $@ - } moo.bash -} bin |