| Thanks, I tried that and it compiled PrimOps.hc. But now I | get this error message: | | ../driver/ghc-inplace -I../includes -I. -Iparallel -optc-Wall | -optc-W | -optc-Wstrict-prototypes -optc-Wmissing-prototypes | -optc-Wmissing-declarations -optc-Winline | -optc-Waggregate-return -optc-Wpointer-arith | -optc-Wbad-function-cast -O2 -optc-DCOMPILING_RTS | -static -O2 -optc-fomit-frame-pointer -c | universal_call_c.S -o universal_call_c.o | as: "universal_call_c.S", line 16: error 1052: Directive name | not recognized - FILE | as: warning 31: Empty source file(s) | gmake[2]: *** [universal_call_c.o] Error 1 | gmake[1]: *** [all] Error 1 | gmake: *** [all] Error 1 Hmm. I would guess that your gcc is using the native HP/UX assembler and not GNU as, so it doesn't understand the .file directive. If you sent us the output of make EXTRA_HC_OPTS=-optc-v we could check that hypothesis. However ... You don't need universal_call_C.o to build GHC anyway, so a quick hack might be to put a giant #if 0 ... #endif around the entire file. J
