[Users] configure: error: C compiler cannot create executables
Andrej Kacian
ticho at claws-mail.org
Wed Oct 3 18:44:35 CEST 2018
On Wed, 3 Oct 2018 15:27:55 +0300
Removed GDPR wrote:
> I am getting this message when running configure for
> target architecture/CPU 'pentium-m':
It seems that you are trying to use a 64-bit system with a 64-bit
compiler to build an executable for pentium-m target, which is
exclusively 32-bit.
What exact configure flags are you using? You shouldn't need to set
-mtune or -march in CFLAGS at all, configure's --host and --build
parameters should be enough, and set everything up for
cross-compilation. Something like:
./configure --host=i686-pc-linux-gnu --build=x86_64_pc-linux-gnu
Of course you will need a complete 32-bit compiler toolchain (probably
available from your Linux distribution).
You will also probably run into the issue of not having 32-bit libraries
(GTK+, libcurl, all the claws-mail dependencies) to link the resulting
32-bit executable against. Those libraries are on the pentium-m system,
but your build system most likely does not have them.
Regards,
--
Andrej
More information about the Users
mailing list