Re: failure to compile on mips-sgi6.5
Malcolm Wallace <[email protected]> Fri, 12 Dec 2003 13:31:01 +0000
| Newsgroups | gmane.comp.lang.haskell.nhc.user |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
"William S." <[email protected]> writes: > OK, got past the first problem. Have this now: > > gcc -S -DHIGH_BYTE_FIRST -O3 -I/usr/people/wstan/nhc98-1.16/include > -DVERSION="\"1.16\"" -o - newtables.c | sed '/.align 32/s/32/4/' |\ > gcc -c -x assembler -DHIGH_BYTE_FIRST -O3 > -I/usr/people/wstan/nhc98-1.16/include -DVERSION="\"1.16\"" -o > /usr/people/wstan/nhc98-1.16/targets/mips-IRIX6/obj/runtime/Kernel > /newtables.o - > as ERROR: -E or specified language required when input is from standard input Strange. The second call to gcc does indeed get its input from stdin, but it also explicitly specifies the language with '-x assembler'. Because of the mention of the -E option (indicating the C pre-processor), it is possible that on mips-IRIX6 you actually require the language to be '-x assembler-with-cpp'. You can change this option in src/runtime/Kernel/Makefile, in the rule for ${SOBJS}. > Easy fix or should I try the Cygwin branch? (not sure how to select > for that). No, Cygwin's quirks are not relevant here. Regards, Malcolm