[Soekris] which "CPUTYPE?=" for a Net4801 in FreeBSD?
Tenzen
toddenzen+1 at gmail.com
Mon Apr 9 23:27:34 UTC 2007
> No, "CPUTYPE?=pentium-mmx" would be the correct value, see gcc(1) man
> page and/or /usr/share/examples/etc/make.conf.
I hadn't looked in either /usr/share OR the gcc man page. Thanks for
the reference(s).
Curiously, "i586/mmx" seems to have worked, and was linking as
"pentium-mmx" in builds -- so it's cross-defined _somewhere_. But
I'll use the 'official' flag, "pentium-mmx".
> > And, again, if so, what needs to be set in the Kernel config for
> > similar optimization?
>
> 'make kernel' reads /etc/make.conf and uses the CPUTYPE variable
> unless NO_CPU_COPTFLAGS is set, see make.conf(5) man page.
Again, that's what I needed.
Thanks.
--Tenzen
More information about the Soekris-tech
mailing list