In fact I have to remove export and use simply bash variable then it will work -- View this message in context: http://gcc.1065356.n5.nabble.com/pass-bash-variable-as-argument-to-gcc-tp1199673p1199709.html Sent from the gcc - Help mailing list archive at Nabble.com.