compilation error

Help
2012-12-26
2013-03-05
  • Hello,

    I'm trying to compile the newest ooc on a Debian 6.06 with ./configure && make
    Result: The only check which failed was whether gcc and cc understand -o and -c together.
    The compiler failed with 8 times the same error message:
    ooc.c 684: Error: Incorrect register %rax used with `l' suffix.

    Can you tell me what's wrong?

    Regards
    Wolfgang

     
  • old-fashioned
    old-fashioned
    2013-02-17

    Dear Wolfgang,

    Sorry, I could not receive a notice about your comment. :-(
    The problem is that a 64 bit system uses the registers differently than the 32 bit ones. I have a newer version, that use the compiler built in atomics instead of inline assemly for atomic pointer nulling operation. This can be compiled on 64 bit systems as well.
    Will upload it soon.