[A89] tigcc.a


[Prev][Next][Index][Thread]

[A89] tigcc.a




I'm trying to test a function of tigcc.a (now that I have TIGCC 
running). This is my code (slightly modified version of what Joel 
Thompson sent to the list a few days back)

     include     "os.h"

     xdef        _ti89

     move.w      #1,-(sp)
     pea.l       string(pc)
     bsr         printf
     addq.l      #6,sp
     rts

string:
     dc.b        "Hello, World!, %i",0

this compiles fine, but when I run it on my calc it says: "Libraries 
are not executable." I think this has to do with the way TIGCC is 
linking. Do I have to include something special in the command line? 
(I'm just using tigcc source.asm, I also tried tigcc tigcc.a 
source.asm)
regards,
ra.-