我想在Mac OS X 10.6.8上安裝gcc 3.4.6;要安裝gcc 3.4.6我需要一個編譯器,並且我能夠安裝gcc-4.2。現在,使用4.2我想安裝3.4.6會拋出一個錯誤在Mac OS X上使用gcc 4.2安裝gcc 3.4.6
./gcc.c:716: warning: string length ‘2483’ is greater than the length ‘509’ ISO C90 compilers are required to support
./gcc.c:723: warning: string length ‘636’ is greater than the length ‘509’ ISO C90 compilers are required to support
./gcc.c:906: warning: string length ‘529’ is greater than the length ‘509’ ISO C90 compilers are required to support
./gcc.c:924: warning: string length ‘608’ is greater than the length ‘509’ ISO C90 compilers are required to support
./gcc.c:1095: error: expected expression before ‘,’ token
./gcc.c:1506: warning: string length ‘833’ is greater than the length ‘509’ ISO C90 compilers are required to support
./gcc.c: In function ‘main’:
./gcc.c:6261: warning: format not a string literal and no format arguments
make[1]: *** [gcc.o] Error 1
make: *** [all-gcc] Error 2
爲什麼我得到這個錯誤任何幫助和如何解決表示讚賞。
「現在使用4.2我正在嘗試安裝3.4.6,它將引發錯誤[...]」*您是如何*嘗試安裝它?你提供給'gcc-4.2'的標誌是什麼? – Johnsyweb
爲什麼你要在你目前的系統上運行這樣的博物館作品? – vonbrand