I currently have a fairly perfect iPhone GCC/G++ setup on my iPhone 3G (3.1.3) with all the headers/libs working.

Now my question is, does anybody know of a good way to backup something like this?

I was thinking of tar'in /usr but I'm not sure if that's good enough.

I'd like to just backup the entire IPSW but all Google results claim this is not possible.