1

问, Debian 11 能用上 gcc-4.8.5 吗?

 1 year ago
source link: https://www.v2ex.com/t/909888
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

问, Debian 11 能用上 gcc-4.8.5 吗?

  qazwsxkevin · 8 小时 31 分钟前 · 883 次点击

生手提问,
因为要兼容旧的 opwerwrt 设备的 ov ,要编译一个比较老版本的 openvp* openvp*-2.3.2.tar ,去做 Server 端
2.3.2 不知道那年的版本了,gcc 10 编译失败, gcc 5.6 试过了,不行,再往前走,上 4.8.5 ,
整了这个,有些迷糊了,这路还能走下去吗?

root@TDebian:/root/gcc-4.8.5$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... mawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/gcc-4.8.5':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
root@TDebian:/root/gcc-4.8.5$ 

是不是还得先上再前于 4.8.5 的版本?
还是我已经走歪路了?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK