NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: port-alpha/55545: /usr/src/ script only known alpha/alpha, but my machnine is EV56

Jason Thorpe writes:
> > On Aug 8, 2020, at 4:15 PM, David Holland <> 
> wrote:
> >
> >> How can i compile src for ev56 cpu?
> >
> > Is it not an alpha? Does the -m alpha -a alpha build not work?
> I think what's being suggested is that it would be nice to say "I want 
> code optimized for this specific Alpha".  In general, we do not provide 
> that w/, but it could be done with mk.conf variables to set 
> COPTS accordingly.

i think CPUFLAGS is the thing we want for _end users_ to compile
with their specific cpus flags.

netbsd build only sets CPUFLAGS when it's building a cpu specific
thing for code expecting that (eg, "-marm" for a bunch of the
arm boot programs.)

you should be able to set CPUFLAGS in mk.conf _or_ -V.


Home | Main Index | Thread Index | Old Index