On 02/09/2018 09:22 PM, Javier Serrano Polo wrote: > I am trying to detect PowerPC SPE libraries. The best way I find is to > check if Tag_GNU_Power_ABI_FP is soft float. Am I right?
On PowerPCSPE targets, gcc will define __SPE__: root@atlantis:~> echo | gcc -E -dM - |grep -i SPE #define __SPE__ 1 root@atlantis:~> So, "#if defined(__powerpc__) && defined(__SPE__)" is what you want. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

