Ubuntu gcc 3.4 - Linux

Table of Contents

上次使用fedora安裝3.4.6
一直不成功
後來看到Ubuntu有人教學如何降版本
我照著網頁一步步操作
http://ppt.cc/d0As
之後
一直到了make這一步出現了問題

In file included from /usr/include/fcntl.h:252:0,
from ../../gcc-3.4.6/gcc/system.h:214,
from ../../gcc-3.4.6/gcc/collect2.c:30:
In function ‘open’,
inlined from ‘collect_execute’ at ../../gcc-3.4.6/gcc/collect2.c:1537:20:
/usr/include/i386-linux-gnu/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/root/gcc_obj/gcc'
make: *** [all-gcc] Error 2


這是指我h檔的問題嗎??
還是那邊需要去修改??
目前是抓官網的Ubuntu12.10下來安裝的
搭配虛擬機器運行

--

All Comments

Brianna avatarBrianna2012-11-26
fedora 下直接 compat-gcc-34 阿?
有甚麼特殊需求嗎?
Sarah avatarSarah2012-11-28
有必要用舊的gcc嗎?
Charlotte avatarCharlotte2012-12-02
我想有的時候會有需求的