Handbook Talk:PPC64/Full/Installation

From Gentoo Wiki
Jump to:navigation Jump to:search

C compiler cannot create executables

Hello!

I used the current snapshot for ppc64-ul64 and found that CFLAGS with "-march" caused a "C compiler cannot create executables" error. I now use "-mcpu=G5 -mtune=G5" which works. (I know, mtune may not be necessary.)

If someone gets this error, a note describing that it might help adjusting the CFLAGS and CXXFLAGS will be helpful!

Thanks, Luttztfz (talk) 08:19, 5 January 2016 (UTC)