hth313 / Calypsi-tool-chains

Overview of the Calypsi tool chain and open source support packages
17 stars 0 forks source link

Is it possible to link ca65 object with ln65816 #24

Closed jedeoric closed 1 year ago

jedeoric commented 1 year ago

Hello,

is it possible to link ca65 source code or object with ln65816 with existing tools ?

We have routines written with ca65, and it's should be easier to use it (in order to avoid as65816 conversion)

hth313 commented 1 year ago

The ln65816 linker uses ELF object files, if ca65 is able to generate ELF then it might work. I searched a bit but could not find any information what object file format ca65 uses. What happens if you try to add ca65 generated object files as input to ln65816?

jedeoric commented 1 year ago

ca65 does not generate ELF format, it uses it's own format. I will have a look later

I am trying to see which output i should use for a new target which does not use ELF output format. I close this issue