Well if your like me and you have been sick of this Error: Failed to get gcc information. for awhile now when installing VMware Workstation on the major Linux distributions out there then you likely will want to automate the process of compiling it correctly and doing the rest of the tasks once your compile is complete.
Download my script here and run it after each time your kernel changes of course.
Let me know how your experience is with this or you would like to see some additions or adjustments.