In that article it gives some CD commands, but I get ":path does not exist"
Does anyone know how to do this properly ?
Could you be a bit more specific? The article you refer to is not mentioned anywhere and it is not clear to me where the message ":path does not exist" comes from.
For more complete information about compiler optimizations, see our Optimization Notice.