Re: compile gcc and library
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On 25/05/12 10:30, Andrew Haley wrote: > On 05/24/2012 06:40 PM, Xin Tong wrote: >> I am looking for an older version of gcc ( gcc version 3.4.X). I can >> not find it in my os software repository. therefore i decide to >> download the source and compile it myself. I am looking at this >> download link and have a few questions. > This is going to be tricky. Older versions of gc generally don't > compile with newer versions, and you'll have to do some fixing > up. > > Andrew. I thought the minimum compiler requirements for the bootstrap compiler where very limited. Isn't it even backwards compatible for one version? (ie. you can use version X to build X-1, then X-1 to build X-2...) As for the actual problem of getting a 3.4 gcc, you may have better luck making the binary from some archive like http://ge.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/ to work.