Hi All,

We are using maven to compile the c++ code. We were using SunStudio 12.2
compiler and jdk 1.6.0_22 in Solaris environment. 
Now we are porting from Solaris to RHEL. We are using same version SunStudio
12.2 compiler and jdk 1.6.0_22.

During compilation I can see the below compiler flags are getting passed in
Linux environment automatically. We are not passing these flags in pom.xml.
I have not seen this flags in Solaris environment

-Wall -Wno-long-long -Wpointer-arith -Wconversion -c -features=rtti -DLinux
-DGNU_GCC -Df2cFortran

Due to this we are getting below error message

[ERROR] CC: -W option with unknown program all
[ERROR] CC: -W option with unknown program all
[DEBUG] Core 1 interrupted

Since SunStudio 12.2 compiler does not support these flags. These flags are
supported only in gcc compiler.

Please help me to remove this additional flags.
     
     

Regards,
Kalai


--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-in-Linux-environment-tp4681852p4681852.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to