You rebuild gcc with your specs file as part of the build! A simpler solution is to create an alias: alias gcc_Gary gcc -specs /
stackoverflow.com