[A89] a68k vs as (linking problems)


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

[A89] a68k vs as (linking problems)



I've made two versions of the same program: it generates a random 
number (using rand() from tigcc.a) and then display it with DrawStr. 
Both are the same (checked line by line), but apparently the object 
code generated with a68k is not exporting the symbols in a "good" 
way. If not's that, I'm really blind and can't see the difference 
(even though I created the .s file from the .asm, 
reading->translating).
I've attached both files, can anyone confirm this please?
I used tigcc for linux (the latest version, can't remember the number).
I refuse to use as, becouse of the stupid syntax... but apparently 
it's the only working choice before C...
tia,
ra.-

-- Binary/unsupported file stripped by Listar --
-- Type: application/applefile
-- File: %rtest.asm


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: rtest.asm



-- Binary/unsupported file stripped by Listar --
-- Type: application/applefile
-- File: %rtest.s


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: rtest.s