This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:compiling_gcc [2011/11/26 23:27] hamish [Testing] |
guide:compiling_gcc [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Compiling GCC from Source ====== | + | Page moved to [[howto:compiling_gcc|Compiling |
| - | + | ||
| - | This guide is written as to try and help CHPC users who are struggling to compile the GCC version required for there codes. For the official guide on compiling GCC please visit the [[http://gcc.gnu.org/ | + | |
| - | + | ||
| - | ===== Prerequisites ==== | + | |
| - | + | ||
| - | | ** Prerequisite ** | Version Required | Version Available | | + | |
| - | | | | | | + | |
| - | + | ||
| - | + | ||
| - | ===== Testing ===== | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Trouble Shooting ===== | + | |
| - | + | ||
| - | The compilation process may be unstable, requiring make to be run multiple times. If you experience such errors try | + | |
| - | + | ||
| - | $ make && sleep 10 && make && sleep 10 && make | + | |
| - | + | ||
| - | === xgcc: internal compiler error: Killed (program cc1) === | + | |
| - | + | ||
| - | This error occurs when the cc1 process is killed/ | + | |
| - | + | ||
| - | This is a rather annoying error, but just keep running make until all the file are compiled. | + | |
| - | + | ||
| - | === gcj: internal compiler error: Killed (program jc1) === | + | |
| - | + | ||
| - | Again just as with xgcc error, the gcj program was killed/ | + | |