Hello all,
I tried very simple project with two files for HC08 port. In main.c there is 
main() which calls func1() from func.c.

In func.lst there is following:
                            56 
;--------------------------------------------------------
                             57 ;  ram data
                             58 
;--------------------------------------------------------
                             59         .area DSEG
   0000                      60 _main_sloc0_1_0:
   0000                      61         .ds 1
   0001                      62 _main_sloc1_1_0:
   0001                      63         .ds 2

This lines cause me the error message below:
D:\V\hc08_multifile>sdld -pf main
-myuxs
-Y
-b HOME = 0xE000
-b DSEG = 0x0080
-b BSEG = 0x0000
-k d:\v\sw\sdcc\lib\hc08
-k d:\v\sw\sdcc\bin\..\lib\hc08
-l hc08
main.rel
func.rel

?ASlink-Error-Could not get 3 consecutive bytes in internal RAM for area DSEG.

Does anybody know how to properly set the linker script ?

Thank you,
Vasek

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to