Re: CPU type for packages.
Ignatios Souvatzis <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.m68k |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 09, 2014 at 03:58:17PM +0200, Anders Magnusson wrote: > Hi, > > I have installed NetBSD 6 on tme emulating a Sun 3/160 (which is a > 68020 I assume). > > Fetching the expect package (precompiled for m68k) rendered in an > illegal instruction, and looking at the binary shows that it has > used fdmul, which seems to be a 68040 instruction if I interpret > this correctly? > > How is the m68k packages generated? I assume that it should be > locked to lowest common 68k CPU type. *Should* be with -m68020-60 (pure m68040 code need pretty slow emulation on m68060 for some instruction, m68040 and m68060 FP code doesn't run on m68020+m68881/2, as you discovered.) -is