I believe in /etc/make.conf you can add this line:
Code:CC=gcc
Or something to that effect. I personally haven't tried it though.
PORTS_MODULES
Set this to the list of ports you wish to rebuild every
time the kernel is built.
I have a hard time understand what you mean here.How could I add gcc compiler at buildworld or buildkernel stage ??
which Makefile I can set this up.
20130906:
The GNU Compiler Collection and C++ standard library (libstdc++)
are no longer built by default on platforms where clang is the system
compiler. You can enable them with the WITH_GCC and WITH_GNUCXX
options in src.conf.
See /usr/src/UPDATING.Code:20130906: The GNU Compiler Collection and C++ standard library (libstdc++) are no longer built by default on platforms where clang is the system compiler. You can enable them with the WITH_GCC and WITH_GNUCXX options in src.conf.