简体   繁体   中英

Compiling GNU GCC tarball in Solaris 10 SPARC

I have a Sun/Oracle SPARC server with Solaris 10 SPARC installed onto it

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)

GMP-4.3.2
MPFR-3.0.0
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

I have three tarball extracted onto my HDD containing Solaris 10 SPARC...

GCC-5.1.0
GCC-7.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. C compiler tries to convert each individual file into a compiled *.o file

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. Since you are building already released code and not modifying the gcc code, you can just ignore it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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