candido lopez rodriguez schrieb:
> Hello:
> 
> Thanks for your help, This is the first time that I am using SDCC and I am 
> having a couple of issues. (hope that this email is not too long)
> 
> 
> 1) The generated output ends in *.o, when I try to pass the objects to the 
> linker it says that the type *.o is unknown, if I change the extension to 
> *.rel it works

Strange, works fine with the .o files for me.
I usually use something like

sdcc -mz80 --no-std-crt0 --code-loc 0x8080 --data-loc 0x7000
"../colecovision lib/bin/libcvu.lib" "../colecovision lib/bin/libcv.lib"
"../colecovision lib/bin/crt0.o" *.o

to link.

> 
> 2) I tried to set the stack, code and memory, the stack is not set so points 
> to 0x0000 

Hmm, AFAIK the stack points to 0xffff by default. It grows downwards.
However I always use a custom crt0.o anyway.

Philipp

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to