简体   繁体   English

在Solaris 10 SPARC中编译GNU GCC tarball

[英]Compiling GNU GCC tarball in Solaris 10 SPARC

I have a Sun/Oracle SPARC server with Solaris 10 SPARC installed onto it 我有一个安装了Solaris 10 SPARC的Sun / Oracle SPARC服务器

I have the following GNU applications installed in my /usr/local directory (compiled using GCC 3.4.3 standard compiler installed during Solaris 10 SPARC installation) 我在/ usr / local目录中安装了以下GNU应用程序(使用在Solaris 10 SPARC安装期间安装的GCC 3.4.3标准编译器进行编译)

GMP-4.3.2 GMP-4.3.2
MPFR-3.0.0 MPFR-3.0.0
MPC-1.0.1 MPC-1.0.1

I want to try and compile a newer version of GNU GCC Compiler than the standard GCC 3.4.3 that came with Solaris 10 SPARC 我想尝试编译比Solaris 10 SPARC随附的标准GCC 3.4.3更高的GNU GCC编译器版本。

I have three tarball extracted onto my HDD containing Solaris 10 SPARC... 我将三个压缩包提取到包含Solaris 10 SPARC的HDD上...

GCC-5.1.0 GCC-5.1.0
GCC-7.1.0 GCC-7.1.0
GCC-9.1.0 GCC-9.1.0

I can configure each one successfully however when I try and compile any of the tarballs (gmake) I am confronted with the following error message each time GCC 3.4.3. 我可以成功配置每个,但是当我尝试编译任何tarball(gmake)时,每次GCC 3.4.3时我都会遇到以下错误消息。 C compiler tries to convert each individual file into a compiled *.o file C编译器尝试将每个文件转换为已编译的* .o文件

cc1plus: warning -Wmissing-format-attribute ignored without -Wformat

What does this mean and how can I rectify it? 这是什么意思,我该如何纠正?

Thanks in advance for any help I can receive 预先感谢您可以得到的任何帮助

It means it will not warn you about calls to functions like sprintf or scanf that are missing arguments. 这意味着它不会警告您缺少参数的sprintf或scanf之类的函数。 Since you are building already released code and not modifying the gcc code, you can just ignore it. 由于您正在构建已发布的代码并且未修改gcc代码,因此可以忽略它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM