Hi,<br><br>I'm trying to compile simple C++ code with Clang on Solaris OS and SPARC target but I get an error I don't know how to fix:<br><br>$ ./clang ~/q.cpp<br>clang-2: warning: unknown platform, assuming -mfloat-abi=soft<br>
error: error reading 'soft'<br>1 error generated.<br><br>Clang version is 2.9, it's compiled with gcc 4.6 and OS is<br><br>$ cat /etc/release<br>                       Solaris 10 5/08 s10s_u5wos_10 SPARC<br>           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.<br>
                        Use is subject to license terms.<br>                             Assembled 24 March 2008<br><br>Do you have any idea what is causing that problem and how to solve it? If I understand correctly Clang either have problems with recognizing that it is running on Solaris/Sparc or support for hardware floating point operations is not supported for that platform and clang tries to use some software emulation. For some reason using that emulation failed too (error message)<br>
<br>I will appreciate any help.<br><br>Regards,<br>Witold Sowa<br>