I have built up an impressive set of options, basically by chucking If you want to find out what they all mean, look at Iwmmxt2 marvell-pj4 mpcore mpcorenovfp native strongarm strongarm110 Known floating-point ABIs (for use with the -mfloat-abi= option): Neon-vfpv4 vfp vfp3 vfpv3 vfpv3-d16 vfpv3-d16-fp16 vfpv3-fp16 vfpv3xd Known ARM FPUs (for use with the -mfpu= option):Ĭrypto-neon-fp-armv8 fp-armv8 fpv4-sp-d16 neon neon-fp-armv8 neon-fp16 Known _fp16 formats (for use with the -mfp16-format= option): Known ARM architectures (for use with the -march= option):Īrmv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6Īrmv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-mĪrmv7-r armv7e-m armv8-a iwmmxt iwmmxt2 native Known ARM ABIs (for use with the -mabi= option): The following options are target specific: Prints lots of interesting stuff on what gcc figures out. Gcc -mcpu=native -march=native -Q -help=target
Install pthread c raspberry pi install#
How to install and use GCC g++ v4.7 and C++11 on Ubuntu 12.04 (beta) This make version 4.8 the default, but you can toggle Sudo update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-4.8 80 Sudo update-alternatives -install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 To make it the default compiler, the best way seems to be In a Makefile you can set it as the compiler by The default C compiler will still be version 4.6.
Install pthread c raspberry pi update#
Probably want to update it to version 4.8: PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"Īs of the end of 2015, the raspbian distros give gcc 4.6Īs the default C compiler. The file /etc/os-release contains general The command arch gives the Linux idea of the CPU.