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

68k running OpenBSD 2.6 can't compile using gcc



Hello,
I'm on a Mac IIvx running OpenBSD 2.6. The "comp" distribution is installed
with no errors reported from the Mac68K BSD installer program. Let's say I
made a file ~/test.c:
#include <stdio.h>

int main(void) {
    printf("Program done.");
    return 0;
}

Then I type:
gcc test.c
I get:
trap type 1, code = a22d, v = 347
kernel: Address error trap
pid = 20597, pc = 0x0000002e2, ps = 0x00002000 sfc = 0x000000001, dfc =
(same as sfc)
Then I get the kernel stack and dreg and areg. panic: Address error. Stopped
at: _Debugger 0x6: unlk a6.
What should I do?
Samad