(1) spend something to do something
(2) spend something doing something
第一句有表達目的的感覺(i.e. in order to)
Baba was patient and would literally spend hours to convey something.
I spent hours to find a rogue comma in Alex's stylesheet that was breaking the site's looks in Firefox.
I'm sure you spent hours to make this lovely letter for me.
I know you spent hours preparing this speech.
Dad will think they spent hours preparing the dish.
有點像 花很多小時準備晚餐 vs 花很多小時來準備晚餐