User Tools

Site Tools


guide:compiling_gcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 gcc from source]].
- +
-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/install/|GCC website]]. This guide documents how gcc-4.6.2 would be built on the Sun Tsessbe Cluster. +
- +
-===== 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/terminated. There could be many reasons for termination, not enough system recourses, another process killed cc1 (try killall cc1 from another shell, while make is running to replicate this error...) +
- +
-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/terminated. run make again+
/app/dokuwiki/data/attic/guide/compiling_gcc.1322342830.txt.gz · Last modified: 2021/12/09 16:42 (external edit)