https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100347

--- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> ---
to complete the set:

/src-local/gcc-master/configure
--prefix=/opt/iains/x86_64-apple-darwin20/gcc-12-0-0
--build=x86_64-apple-darwin20
--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
--enable-languages=all CC=x86_64-apple-darwin20-gcc
CXX=x86_64-apple-darwin20-g++ --with-cpu=native 

$ ./gcc/xgcc -Bgcc /source/test/general/empty-main.c -S -fverbose-asm

$ head -5 empty-main.s 
# GNU C17 (GCC) version 12.0.0 20210508 (experimental) [master revision
r12-637-g56103737f173] (x86_64-apple-darwin20)
#       compiled by GNU C version 12.0.0 20210508 (experimental) [master
revision r12-637-g56103737f173], GMP version 6.2.0, MPFR version 4.1.0, MPC
version 1.1.0, isl version isl-0.22-GMP

# GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
# options passed: --param=l1-cache-size=32 --param=l1-cache-line-size=64
--param=l2-cache-size=9216 -mtune=skylake -fPIC -mmacosx-version-min=11.2.0

Which shows that the '--with-cpu=native' configuration option has also picked
up the right info (and overridden the default core2).  This is a bootstrap
using gcc.

Reply via email to