well, ive never been agaisnt a cannon rush while using a cc first... But the idea would be to stockpile mins and build a hidden barracks with your scout scv, defend the second base and gtfo from your base as soon as the cannon finishes (since won't need to stay in your base  to defend the supply depots... So yeah, while in a normal situation one would rather stay at ones base, in this situation you can lift up without many problems in order to buy time for the marines.           i don't think stalkers are that much of an issue btw since you won't be attacking, but rather just staying by the bunkers... Marauder slow can deal with stalkers well enough too. Either way, this all is pretty much speculation :p.