This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bug in compiler

I,ve installed the Compiler and I can,t get even the simplest code to compile properely.

Anyone know where the fix for this bug is?

Or is it a limit of the demonstration version?

void main(void)
{ cout << "Hello world!";
}

Parents
  • I,ve been given some hardware with a display on it.
    A display makes a good console output.
    So I need it to go to the display.

    You'll probably need to do a bit more to get this working (display driver?).

    I know SDCC is a C compiler

    I wasn't sure because you didn't find this info for the Keil compiler.

    but it is based upon GPL code so I think maybe someone hitches it to the GCC compiler chain.

    I'm not sure what you mean with "hitching it to the GCC compiler". If you mean adding 8051 support to GCC (C++), I wouldn't call that "hitching" :-)

    So, basically your question is: "does anyone know a free (as in beer and speech) C++ compiler for the 8051?". Is that correct?

    --
    Joost

Reply
  • I,ve been given some hardware with a display on it.
    A display makes a good console output.
    So I need it to go to the display.

    You'll probably need to do a bit more to get this working (display driver?).

    I know SDCC is a C compiler

    I wasn't sure because you didn't find this info for the Keil compiler.

    but it is based upon GPL code so I think maybe someone hitches it to the GCC compiler chain.

    I'm not sure what you mean with "hitching it to the GCC compiler". If you mean adding 8051 support to GCC (C++), I wouldn't call that "hitching" :-)

    So, basically your question is: "does anyone know a free (as in beer and speech) C++ compiler for the 8051?". Is that correct?

    --
    Joost

Children
No data