At Fri, 21 Jul 2000 02:41:27 -0700,
Simon Marlow <[EMAIL PROTECTED]> wrote:
> Thanks for the patches. I'm slightly mistified though; I'm running an
> up-to-date FreeBSD 4.0-STABLE on my box, and I don't remember seeing
> these messages. I'll investigate further.
Please test the following steps and check assembler instructions.
I tested it on FreeBSD 3.3-RELEASE/4.0-STABLE box and show the results.
[3.3-RELEASE]
$ cat Hello.hs
main = putStr "Hello World!\n"
$ ghc-4.08 -S -fvia-C -fno-asm-mangling Hello.hs
$ grep -1 '@(#)' Hello.s
ghc_cc_ID:
.ascii "@(#)cc Hello.hs\11"
.ascii "36.1,,\0"
--
ghc_hsc_ID:
.ascii "@(#)hsc Hello.hs\11"
.ascii "40.0,,\0"
$ gcc -v
gcc version 2.7.2.3
[4.0-STABLE]
$ ghc-4.08 -S -fvia-C -fno-asm-mangling Hello.hs
$ grep -1 '@(#)' Hello.s
ghc_cc_ID:
.string "@(#)cc Hello.hs\t36.1,,"
.p2align 2
--
ghc_hsc_ID:
.string "@(#)hsc Hello.hs\t40.0,,"
.ident "[ASM_FILE_END]GCC: (c) 2.95.2 19991024 (release)"
$ gcc -v
Using builtin specs.
gcc version 2.95.2 19991024 (release)
Yoshiyuki ONOUE ([EMAIL PROTECTED])
Dept. of Info. Eng., Sch. of Eng., Univ. of Tokyo