Menu

Error messages

2008-05-13
2013-05-30
  • Nobody/Anonymous

    Dear Mr. Considine, why are two origins for error messages: GCBASIC.EXE that produces ANY.ASM and GCBASIC.EXE that produces ANY.HEX the later produces ERRORS.TXT the first not. good would be if both give the ERRORS.txt. Thank you for your answer. 

     
    • Hugh Considine

      Hugh Considine - 2008-05-14

      GCBASIC only produces errors.txt if there is an error, that makes it easier for IDEs to detect if the program compiled successfully.

      I'm not quite sure what you mean by the gcbasic.exe that produces any.hex, it should also produce any.asm. The code inside GCBASIC is like this:

      - Compile the program
      - If there are errors, make errors.txt and exit
      - If the /A: parameter is not used, exit
      - Assemble the program
      - If there are errors, make errors.txt and exit
      - If the /P: parameter is not used, exit
      - Call the programmer to send the program to the PIC

      (PS. You can call me Hugh)

       
    • Nobody/Anonymous

      Ok! Hugh, thanks again, I was using the term any.hex like anyfile.hex, sorry..

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.