Thread: Build A Script That Accept Arguments
hello,
want build script file(*.sh) use cegcc compiler, because call compiler need use command:
like in g++, it's long command thing use times, want build script run this, remember filename wince-g++:code:$ arm-wince-mingw32ce-g++ -o hello.exe hello.cpp
this want script put arguments , execute cegcc, remember want use shell script.code:wince-g++ -o hello.exe hello.cpp
thanks,
nathan paulino campos
why not use tab-completion?
or can create file shorter name links it.code:arm<tab> --> arm-wince-mingw32ce-g++
edit: better, create alias:code:sudo ln -s /usr/bin/arm-wince-mingw32ce-g++ /usr/local/bin/wince-g++
add .bash_rc or .bash_profile (i'm not @ ubuntu machine right now, not sure 1 is)code:alias arm-wince-mingw32ce-g++ wince-g++
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Build A Script That Accept Arguments
Ubuntu
Comments
Post a Comment