2012-04-19 24 views

答えて

0

Howerverでは、出力は "cc ..."です。 gccを使用していますか?他のコンパイラ(SUN ccなど)ではありませんか?

Solaris、HPUX、AIXなどにgccをインストールできますが、通常は独自のccコンパイラをlinuxなどの他の環境にインストールすることはできません。

+0

私のCCは、CCとしてGCCにリンクされています。だから、そのgccをinturn – bhuvana

0

-Xaは、Sun Cコンパイラオプションです。 マンページCC.1 から: - > gccのLinux上で

 
    -X[c|a|t|s] 
      Specifies the degree of conformance to the ISO C stan- 
      dard[...] 

      a This is the default compiler mode. ISO C plus K&R 
       C compatibility extensions, with semantic changes 
       required by ISO C. Where K&R C and ISO C specify 
       different semantics for the same construct, the 
       compiler uses the ISO C interpretation. If the -Xa 
       option is used in conjunction with the -xtransi- 
       tion option, the compiler issues warnings about 
       the different semantics. The predefined macro 
       __STDC__ has a value of 0 with the -Xa option. 
関連する問題