sdcc error codes

Help
sdm3
2009-01-06
2013-03-12
  • sdm3
    sdm3
    2009-01-06

    Does anybody know where to find the sdcc error codes?  I am a newbie starting a new project.  I can generate a .hex file a command line, but not in the IDE.  "Hex file generator not found."  And, "at 1: error 131: cannot generate code for target '' "

     
    • Raphael Neider
      Raphael Neider
      2009-01-06

      As for the second message: Your IDE seems to pass -m " " followed by no valid target device (e.g., for -ppic16 you could use -mp18f6720). You probably have invoked 'sdcc -m filename.c' --- at least this gives your error message. Check the flags passed to the compiler from the IDE.
      The first messages seems to be from your IDE, but without stating its name / version, we probably cannot help much. Try looking for some dialog box to set up the IDE-external tools.

      Regards,
      Raphael