Modifying APP_ENTRY_POINT

Comments

2 comments

  • Avatar
    Jon Elliott

    If your bootmain function is in a C++ file, you'll need to compile it as a C function using extern "C". For example:

    extern "C" int bootmain(int argc, char *argv[])
    {
    }
    0
    Comment actions Permalink
  • Avatar
    Richard Hagberg

    Interesting.  I wouldn't have thought of that because it is being used in a .s file.  Thank you for your reply, I'll give that a try.

    0
    Comment actions Permalink

Please sign in to leave a comment.