#1001 Code would not compile

closed-rejected
nobody
5
2013-05-25
2005-10-31
Anonymous
No

COMMAND: sdcc hello1.c -o hello.exe

Ran this on two (2) versions of 'sdcc' 2.4 & 2.5
Version 2.4:
SDCC: mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/sca5
1/ds400/hc08 2.4.0 (Feb 23 2004) (MINGW32)

Version 2.5:
SDCC: mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/sca5
1/ds400/hc08 2.5.0 #1020 (May 8 2005) (MINGW32)

ERROR MESSAGE: ?ASlink-Warning-Undefined Global '-putcha
r' referenced by module 'vprintf'

Above error message identical with both versions of SDCC

******************************************************************

I just ran the attached code as a try-out for the
compiler, it is not a significant program.

Discussion

  • Nobody/Anonymous

    Test File "Hello1.c"

     
  • Maarten Brock

    Maarten Brock - 2005-10-31
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2005-10-31
    • labels: --> Documentation
    • milestone: --> non_bugs
    • status: closed --> closed-rejected
     
  • Maarten Brock

    Maarten Brock - 2005-10-31

    Logged In: YES
    user_id=888171

    RTFM

    1) Microcontrollers do not execute programs like hello.exe by
    the lack of an OS.
    2) Microcontrollers do not have a default display and therefor
    you must provide an implementation of putchar as stated in
    the manual.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks