I'm currently learning for an exam about compilers and found the following question:
(3 p.) Bootstrapping: Explain the concepts of rehosting and retargeting. Use T-diagrams.
As far as I understand, rehosting means to compile a compiler for another platform (host), so it should look like this:
-------------
| a b | --------------
----- ----- | a b |
| c |------------- ------
-----| c x || x |
----- ----------
| ? |
-----
But is it correct? And what means retargeting?
I can't find any solution in my slides as well as on Google, so I just try to ask here. Sorry if it's the wrong place...