| 26 | | If host and target are different, then we are building a |
| 27 | | cross-compiler. For GHC, this means a compiler |
| 28 | | which will generate intermediate .hc files to port to the target |
| 29 | | architecture for bootstrapping. The libraries and stage 2 compiler |
| 30 | | will be built as HC files for the target system (see [wiki:Building/Porting Porting GHC] for details). |
| | 26 | If host and target are different, then we are building a cross-compiler. See [wiki:CrossCompilation] for the work-in-progress toolset. |
| | 27 | |
| | 28 | There is another option, which is similar in essence, namely creating a portable compiler. For GHC, this means a compiler which will generate intermediate `.hc` files to port to the target architecture for bootstrapping. The libraries and stage 2 compiler will be built as `.hc` files for the target system (see [wiki:Building/Porting Porting GHC] for details). |